Yoast\WP\SEO\Routes

Indexing_Route::index_post_type_archives()publicYoast 1.0

Indexes a number of unindexed post type archive pages.

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

Хуков нет.

Возвращает

WP_REST_Response. The response.

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

$Indexing_Route = new Indexing_Route();
$Indexing_Route->index_post_type_archives();

Код Indexing_Route::index_post_type_archives() Yoast 22.3

public function index_post_type_archives() {
	return $this->run_indexation_action( $this->post_type_archive_indexation_action, self::FULL_POST_TYPE_ARCHIVES_ROUTE );
}