Yoast\WP\SEO\Introductions\User_Interface
Introductions_Integration::__construct
Constructs the integration.
Метод класса: Introductions_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Introductions_Integration = new Introductions_Integration(); $Introductions_Integration->__construct( $admin_asset_manager, $introductions_collector, $product_helper, $user_helper, $short_link_helper, $wistia_embed_permission_repository, $woocommerce_conditional );
- $admin_asset_manager(WPSEO_Admin_Asset_Manager) (обязательный)
- The admin asset manager.
- $introductions_collector(Introductions_Collector) (обязательный)
- The introductions' collector.
- $product_helper(Product_Helper) (обязательный)
- The product helper.
- $user_helper(User_Helper) (обязательный)
- The user helper.
- $short_link_helper(Short_Link_Helper) (обязательный)
- The short link helper.
- $wistia_embed_permission_repository(Wistia_Embed_Permission_Repository) (обязательный)
- The repository.
- $woocommerce_conditional(WooCommerce_Conditional) (обязательный)
- The WooCommerce conditional.
Код Introductions_Integration::__construct() Introductions Integration:: construct Yoast 27.6
public function __construct(
WPSEO_Admin_Asset_Manager $admin_asset_manager,
Introductions_Collector $introductions_collector,
Product_Helper $product_helper,
User_Helper $user_helper,
Short_Link_Helper $short_link_helper,
Wistia_Embed_Permission_Repository $wistia_embed_permission_repository,
WooCommerce_Conditional $woocommerce_conditional
) {
$this->admin_asset_manager = $admin_asset_manager;
$this->introductions_collector = $introductions_collector;
$this->product_helper = $product_helper;
$this->user_helper = $user_helper;
$this->short_link_helper = $short_link_helper;
$this->wistia_embed_permission_repository = $wistia_embed_permission_repository;
$this->woocommerce_conditional = $woocommerce_conditional;
}