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

Yoast\WP\SEO\Actions\Indexation

Indexable_Post_Type_Archive_Indexation_Action::index() public Yoast 1.0

Creates indexables for post type archives.

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

Хуков нет.

Возвращает

Indexable[]. The created indexables.

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

$Indexable_Post_Type_Archive_Indexation_Action = new Indexable_Post_Type_Archive_Indexation_Action();
$Indexable_Post_Type_Archive_Indexation_Action->index();

Код Indexable_Post_Type_Archive_Indexation_Action::index() Yoast 15.1.1

<?php
public function index() {
	$unindexed_post_type_archives = $this->get_unindexed_post_type_archives( $this->get_limit() );

	$indexables = [];
	foreach ( $unindexed_post_type_archives as $post_type_archive ) {
		$indexables[] = $this->builder->build_for_post_type_archive( $post_type_archive );
	}

	\delete_transient( static::TRANSIENT_CACHE_KEY );

	return $indexables;
}