Yoast\WP\SEO\Presentations
Indexable_Term_Archive_Presentation::__construct
Indexable_Post_Type_Presentation constructor.
Метод класса: Indexable_Term_Archive_Presentation{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Term_Archive_Presentation = new Indexable_Term_Archive_Presentation(); $Indexable_Term_Archive_Presentation->__construct( $wp_query_wrapper, $taxonomy );
- $wp_query_wrapper(WP_Query_Wrapper) (обязательный)
- The wp query wrapper.
- $taxonomy(Taxonomy_Helper) (обязательный)
- The Taxonomy helper.
Код Indexable_Term_Archive_Presentation::__construct() Indexable Term Archive Presentation:: construct Yoast 28.0
public function __construct( WP_Query_Wrapper $wp_query_wrapper, Taxonomy_Helper $taxonomy ) {
$this->wp_query_wrapper = $wp_query_wrapper;
$this->taxonomy = $taxonomy;
}