Yoast\WP\SEO\Integrations\Watchers
Indexable_Post_Type_Archive_Watcher::build_indexable() public Yoast 1.0
Saves the post type archive.
{} Это метод класса: Indexable_Post_Type_Archive_Watcher{}
Хуков нет.
Возвращает
null.
Использование
$Indexable_Post_Type_Archive_Watcher = new Indexable_Post_Type_Archive_Watcher(); $Indexable_Post_Type_Archive_Watcher->build_indexable( $post_type );
- $post_type(строка) (обязательный)
- The post type.
Код Indexable_Post_Type_Archive_Watcher::build_indexable() Indexable Post Type Archive Watcher::build indexable Yoast 15.6.2
public function build_indexable( $post_type ) {
$indexable = $this->repository->find_for_post_type_archive( $post_type, false );
$this->builder->build_for_post_type_archive( $post_type, $indexable );
}