WPSEO_Product_Upsell_Notice::set_upgrade_notice()
Sets the upgrade notice.
Метод класса: WPSEO_Product_Upsell_Notice{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Product_Upsell_Notice = new WPSEO_Product_Upsell_Notice(); $WPSEO_Product_Upsell_Notice->set_upgrade_notice();
Код WPSEO_Product_Upsell_Notice::set_upgrade_notice() WPSEO Product Upsell Notice::set upgrade notice Yoast 24.4
public function set_upgrade_notice() { if ( $this->has_first_activated_on() ) { return; } $this->set_first_activated_on(); $this->add_notification(); }