Yoast\WP\SEO\Repositories
Indexable_Cleanup_Repository::__construct
The constructor.
Метод класса: Indexable_Cleanup_Repository{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Cleanup_Repository = new Indexable_Cleanup_Repository(); $Indexable_Cleanup_Repository->__construct( $taxonomy, $post_type, $author_archive );
- $taxonomy(Taxonomy_Helper) (обязательный)
- A helper for taxonomies.
- $post_type(Post_Type_Helper) (обязательный)
- A helper for post types.
- $author_archive(Author_Archive_Helper) (обязательный)
- A helper for author archives.
Код Indexable_Cleanup_Repository::__construct() Indexable Cleanup Repository:: construct Yoast 28.1
public function __construct( Taxonomy_Helper $taxonomy, Post_Type_Helper $post_type, Author_Archive_Helper $author_archive ) {
$this->taxonomy = $taxonomy;
$this->post_type = $post_type;
$this->author_archive = $author_archive;
}