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

Yoast\WP\SEO\Commands

Index_Command::__construct() public Yoast 1.0

Generate_Indexables_Command constructor.

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

Хуков нет.

Возвращает

null. Null. Ничего.

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

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

Код Index_Command::__construct() Yoast 16.1.1

<?php
public function __construct(
	Indexable_Post_Indexation_Action $post_indexation_action,
	Indexable_Term_Indexation_Action $term_indexation_action,
	Indexable_Post_Type_Archive_Indexation_Action $post_type_archive_indexation_action,
	Indexable_General_Indexation_Action $general_indexation_action,
	Indexable_Indexing_Complete_Action $complete_indexation_action,
	Indexing_Prepare_Action $prepare_indexing_action
) {
	$this->post_indexation_action              = $post_indexation_action;
	$this->term_indexation_action              = $term_indexation_action;
	$this->post_type_archive_indexation_action = $post_type_archive_indexation_action;
	$this->general_indexation_action           = $general_indexation_action;
	$this->complete_indexation_action          = $complete_indexation_action;
	$this->prepare_indexing_action             = $prepare_indexing_action;
}