WPSEO_Post_Type::remove_post_types_made_public_notification()public staticYoast 1.0

Removes the notification related to the post types which have been made public.

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

Хуков нет.

Возвращает

null. Ничего.

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

$result = WPSEO_Post_Type::remove_post_types_made_public_notification();

Код WPSEO_Post_Type::remove_post_types_made_public_notification() Yoast 20.0

public static function remove_post_types_made_public_notification() {
	$notification_center = Yoast_Notification_Center::get();
	$notification_center->remove_notification_by_id( 'post-types-made-public' );
}