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. Ничего.

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

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

Код Post_Not_Found_Exception::__construct() Yoast 19.7.1

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