Yoast\WP\SEO\Helpers

Indexing_Helper::set_indexing_actions()publicYoast 1.0

Sets the actions.

{} Это метод класса: Indexing_Helper{}

Хуков нет.

Возвращает

null. Ничего.

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

$Indexing_Helper = new Indexing_Helper();
$Indexing_Helper->set_indexing_actions(;

Код Indexing_Helper::set_indexing_actions() Yoast 19.2

public function set_indexing_actions(
	Indexable_Post_Indexation_Action $post_indexation,
	Indexable_Term_Indexation_Action $term_indexation,
	Indexable_Post_Type_Archive_Indexation_Action $post_type_archive_indexation,
	Indexable_General_Indexation_Action $general_indexation,
	Post_Link_Indexing_Action $post_link_indexing_action,
	Term_Link_Indexing_Action $term_link_indexing_action
) {
	$this->indexing_actions = [
		$post_indexation,
		$term_indexation,
		$post_type_archive_indexation,
		$general_indexation,
		$post_link_indexing_action,
		$term_link_indexing_action,
	];
}