Yoast\WP\SEO\Builders
Indexable_Post_Type_Archive_Builder::__construct
Indexable_Post_Type_Archive_Builder constructor.
Метод класса: Indexable_Post_Type_Archive_Builder{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Post_Type_Archive_Builder = new Indexable_Post_Type_Archive_Builder(); $Indexable_Post_Type_Archive_Builder->__construct( $options, $versions, $post_helper, $post_type_helper );
- $options(Options_Helper) (обязательный)
- The options helper.
- $versions(Indexable_Builder_Versions) (обязательный)
- The latest version of each Indexable builder.
- $post_helper(Post_Helper) (обязательный)
- The post helper.
- $post_type_helper(Post_Type_Helper) (обязательный)
- The post type helper.
Код Indexable_Post_Type_Archive_Builder::__construct() Indexable Post Type Archive Builder:: construct Yoast 27.7
public function __construct(
Options_Helper $options,
Indexable_Builder_Versions $versions,
Post_Helper $post_helper,
Post_Type_Helper $post_type_helper
) {
$this->options = $options;
$this->version = $versions->get_latest_version_for_type( 'post-type-archive' );
$this->post_helper = $post_helper;
$this->post_type_helper = $post_type_helper;
}