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