Yoast\WP\SEO\Helpers

Notification_Helper::restore_notification()publicYoast 1.0

Restores a notification (wrapper function).

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

Хуков нет.

Возвращает

true|false. True if restored, false otherwise.

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

$Notification_Helper = new Notification_Helper();
$Notification_Helper->restore_notification( $notification );
$notification(Yoast_Notification) (обязательный)
The notification to restore.

Код Notification_Helper::restore_notification() Yoast 22.4

public function restore_notification( Yoast_Notification $notification ) {
	return Yoast_Notification_Center::restore_notification( $notification );
}