WPSEO_Upgrade::remove_plugin_updated_notification_for_157()publicYoast 1.0

Removes the wpseo-plugin-updated notification from the Notification center for the 15.7 upgrade.

{} Это метод класса: WPSEO_Upgrade{}

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Upgrade = new WPSEO_Upgrade();
$WPSEO_Upgrade->remove_plugin_updated_notification_for_157();

Код WPSEO_Upgrade::remove_plugin_updated_notification_for_157() Yoast 19.7.1

public function remove_plugin_updated_notification_for_157() {
	Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-plugin-updated' );
}