# wordpress-seo/18.5/src/helpers/notification-helper.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.5. 26 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.5/code/src/helpers/notification-helper.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.5/raw/src/helpers/notification-helper.php
- Modified: 2021-05-18T13:42:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/18.5/code/src/helpers/notification-helper.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Helpers;

use Yoast_Notification;
use Yoast_Notification_Center;

/**
 * A helper object for notifications.
 */
class Notification_Helper {

	/**
	 * Restores a notification (wrapper function).
	 *
	 * @codeCoverageIgnore
	 *
	 * @param Yoast_Notification $notification The notification to restore.
	 *
	 * @return bool True if restored, false otherwise.
	 */
	public function restore_notification( Yoast_Notification $notification ) {
		return Yoast_Notification_Center::restore_notification( $notification );
	}
}

```
