WPSEO_Product_Upsell_Notice::__construct()publicYoast 1.0

Sets the options, because they always have to be there on instance.

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

Хуков нет.

Возвращает

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

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

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

Код WPSEO_Product_Upsell_Notice::__construct() Yoast 22.1

public function __construct() {
	$this->options = $this->get_options();
}