Yoast\WP\SEO\Routes

Indexables_Page_Route::__construct()publicYoast 1.0

Устарела с версии 20.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Indexables_Route constructor.

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

Хуков нет.

Возвращает

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

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

$Indexables_Page_Route = new Indexables_Page_Route();
$Indexables_Page_Route->__construct( $indexables_page_action, $indexables_page_helper );
$indexables_page_action(Indexables_Page_Action) (обязательный)
The indexable actions.
$indexables_page_helper(Indexables_Page_Helper) (обязательный)
The indexables page helper.

Список изменений

Устарела с 20.4

Код Indexables_Page_Route::__construct() Yoast 22.4

public function __construct( Indexables_Page_Action $indexables_page_action, Indexables_Page_Helper $indexables_page_helper ) {
	\_deprecated_function( __METHOD__, 'Yoast SEO 20.4' );

	$this->indexables_page_action = $indexables_page_action;
	$this->indexables_page_helper = $indexables_page_helper;
}