Yoast\WP\SEO\Plans\User_Interface

Upgrade_Sidebar_Menu_Integration::__construct │ public │ Yoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Upgrade_Sidebar_Menu_Integration = new Upgrade_Sidebar_Menu_Integration();
$Upgrade_Sidebar_Menu_Integration->__construct( $woocommerce_conditional, $shortlinker, $product_helper, $current_page_helper, $promotion_manager, $addon_manager );
$woocommerce_conditional(WooCommerce_Conditional) (обязательный)
The WooCommerce conditional.
$shortlinker(WPSEO_Shortlinker) (обязательный)
The shortlinker.
$product_helper(Product_Helper) (обязательный)
The product helper.
$current_page_helper(Current_Page_Helper) (обязательный)
The current page helper.
$promotion_manager(Promotion_Manager) (обязательный)
The promotion manager.
$addon_manager(WPSEO_Addon_Manager) (обязательный)
The addon manager.

Код Upgrade_Sidebar_Menu_Integration::__construct() Yoast 28.9

public function __construct(
	WooCommerce_Conditional $woocommerce_conditional,
	WPSEO_Shortlinker $shortlinker,
	Product_Helper $product_helper,
	Current_Page_Helper $current_page_helper,
	Promotion_Manager $promotion_manager,
	WPSEO_Addon_Manager $addon_manager
) {
	$this->woocommerce_conditional = $woocommerce_conditional;
	$this->shortlinker             = $shortlinker;
	$this->product_helper          = $product_helper;
	$this->current_page_helper     = $current_page_helper;
	$this->promotion_manager       = $promotion_manager;
	$this->addon_manager           = $addon_manager;
}