WPSEO_Upgrade::upgrade_40()privateYoast 1.0

Removes the about notice when its still in the database.

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

Хуков нет.

Возвращает

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

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

// private - только в коде основоного (родительского) класса
$result = $this->upgrade_40();

Код WPSEO_Upgrade::upgrade_40() Yoast 22.1

private function upgrade_40() {
	$center = Yoast_Notification_Center::get();
	$center->remove_notification_by_id( 'wpseo-dismiss-about' );
}