Yoast\WP\SEO\Abilities\User_Interface

AI_Generate_Upsell::__construct │ public │ Yoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$AI_Generate_Upsell = new AI_Generate_Upsell();
$AI_Generate_Upsell->__construct( $product_helper );
$product_helper(Product_Helper) (обязательный)
The product helper.

Код AI_Generate_Upsell::__construct() Yoast 28.9

public function __construct( Product_Helper $product_helper ) {
	$this->product_helper = $product_helper;
}