Yoast\WP\SEO\Exceptions\Indexable

Post_Not_Found_Exception::__construct()publicYoast 1.0

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

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

Хуков нет.

Возвращает

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

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

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

Код Post_Not_Found_Exception::__construct() Yoast 22.4

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