WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Helpers

Indexing_Helper::set_indexing_actions() public Yoast 1.0

Sets the actions.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$Indexing_Helper = new Indexing_Helper();
$Indexing_Helper->set_indexing_actions(;
$post_indexation(Indexable_Post_Indexation_Action) (обязательный)
The post indexing action.
$term_indexation(Indexable_Term_Indexation_Action) (обязательный)
The term indexing action.
$post_type_archive_indexation(Indexable_Post_Type_Archive_Indexation_Action) (обязательный)
The posttype indexing action.
$general_indexation(Indexable_General_Indexation_Action) (обязательный)
The general indexing (homepage etc) action.
$post_link_indexing_action(Post_Link_Indexing_Action) (обязательный)
The post crosslink indexing action.
$term_link_indexing_action(Term_Link_Indexing_Action) (обязательный)
The term crossling indexing action.

Код Indexing_Helper::set_indexing_actions() Yoast 15.6.2

<?php
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->post_indexation              = $post_indexation;
	$this->term_indexation              = $term_indexation;
	$this->post_type_archive_indexation = $post_type_archive_indexation;
	$this->general_indexation           = $general_indexation;
	$this->post_link_indexing_action    = $post_link_indexing_action;
	$this->term_link_indexing_action    = $term_link_indexing_action;
}