Yoast\WP\SEO\Exceptions\Indexable

Term_Not_Found_Exception{}Yoast 1.0

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

Методы

  1. public __construct()

Код Term_Not_Found_Exception{} Yoast 22.4

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' ) );
	}
}