Yoast\WP\SEO\Conditionals

New_Premium_Or_Free_AI_Conditional::__construct │ public │ Yoast 1.0

Устарела с версии 28.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Constructs New_Premium_Or_Free_AI_Conditional.

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

Хуков нет.

Возвращает

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

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

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

Список изменений

Устарела с 28.4

Код New_Premium_Or_Free_AI_Conditional::__construct() Yoast 28.9

public function __construct( Product_Helper $product_helper ) {
	\_deprecated_function( __METHOD__, 'Yoast SEO 28.4' );
	$this->product_helper = $product_helper;
}