Yoast\WP\SEO\Exceptions\Indexable

Term_Not_Found_Exception::__construct()publicYoast 1.0

Exception that is thrown whenever a term could not be found in the context of the indexables.

Метод класса: Term_Not_Found_Exception{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Term_Not_Found_Exception = new Term_Not_Found_Exception();
$Term_Not_Found_Exception->__construct();

Код Term_Not_Found_Exception::__construct() Yoast 24.0

public function __construct() {
	parent::__construct( \__( 'The term could not be found.', 'wordpress-seo' ) );
}