WPSEO_Post_Type::remove_taxonomies_made_public_notification()public staticYoast 1.0

Removes the notification related to the taxonomies which have been made public.

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

Хуков нет.

Возвращает

null. Ничего.

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

$result = WPSEO_Post_Type::remove_taxonomies_made_public_notification();

Код WPSEO_Post_Type::remove_taxonomies_made_public_notification() Yoast 20.0

public static function remove_taxonomies_made_public_notification() {
	$notification_center = Yoast_Notification_Center::get();
	$notification_center->remove_notification_by_id( 'taxonomies-made-public' );
}