Yoast\WP\SEO\Builders

Indexable_Post_Type_Archive_Builder::__construct()publicYoast 1.0

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(;

Код Indexable_Post_Type_Archive_Builder::__construct() Yoast 22.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;
}