Yoast\WP\SEO\Editors\Framework\Site

Base_Site_Information::__construct()publicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

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

Код Base_Site_Information::__construct() Yoast 25.1

public function __construct(
	Short_Link_Helper $short_link_helper,
	Wistia_Embed_Permission_Repository $wistia_embed_permission_repository,
	Meta_Surface $meta,
	Product_Helper $product_helper,
	Options_Helper $options_helper,
	Promotion_Manager $promotion_manager
) {
	$this->short_link_helper                  = $short_link_helper;
	$this->wistia_embed_permission_repository = $wistia_embed_permission_repository;
	$this->meta                               = $meta;
	$this->product_helper                     = $product_helper;
	$this->options_helper                     = $options_helper;
	$this->promotion_manager                  = $promotion_manager;
}