Yoast\WP\SEO\Builders

Indexable_Date_Archive_Builder::__construct()publicYoast 1.0

Indexable_Date_Archive_Builder constructor.

Метод класса: Indexable_Date_Archive_Builder{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Indexable_Date_Archive_Builder = new Indexable_Date_Archive_Builder();
$Indexable_Date_Archive_Builder->__construct(;

Код Indexable_Date_Archive_Builder::__construct() Yoast 22.8

public function __construct(
	Options_Helper $options,
	Indexable_Builder_Versions $versions
) {
	$this->options = $options;
	$this->version = $versions->get_latest_version_for_type( 'date-archive' );
}