Yoast\WP\SEO\Actions

Indexables_Page_Action::__construct()publicYoast 1.0

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

Indexable_Action constructor.

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

Хуков нет.

Возвращает

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

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

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

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

Устарела с 20.4

Код Indexables_Page_Action::__construct() Yoast 22.4

public function __construct(
	Indexable_Repository $indexable_repository,
	Post_Type_Helper $post_type_helper,
	Options_Helper $options_helper,
	Indexables_Page_Helper $indexables_page_helper
) {
	\_deprecated_function( __METHOD__, 'Yoast SEO 20.4' );

	$this->indexable_repository   = $indexable_repository;
	$this->post_type_helper       = $post_type_helper;
	$this->options_helper         = $options_helper;
	$this->indexables_page_helper = $indexables_page_helper;
}