Yoast\WP\SEO\Exceptions\Indexable
Term_Not_Found_Exception{}└─ Source_Exception
Exception that is thrown whenever a term could not be found in the context of the indexables.
Хуков нет.
Использование
$Term_Not_Found_Exception = new Term_Not_Found_Exception(); // use class methods
Методы
- public __construct()
Код Term_Not_Found_Exception{} Term Not Found Exception{} Yoast 27.7
class Term_Not_Found_Exception extends Source_Exception {
/**
* Exception that is thrown whenever a term could not be found
* in the context of the indexables.
*/
public function __construct() {
parent::__construct( \__( 'The term could not be found.', 'wordpress-seo' ) );
}
}