# wordpress-seo/18.8/admin/views/partial-notifications-warnings.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.8/code/admin/views/partial-notifications-warnings.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.8/raw/admin/views/partial-notifications-warnings.php
- Modified: 2021-04-13T06:40:02+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.8/code/admin/views/partial-notifications-warnings.php#L10-L20`.

```php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 *
 * @uses    array $notifications_data
 */

$yoast_seo_type     = 'warnings';
$yoast_seo_dashicon = 'flag';

$yoast_seo_active    = $notifications_data['warnings']['active'];
$yoast_seo_dismissed = $notifications_data['warnings']['dismissed'];

$yoast_seo_active_total    = count( $notifications_data['warnings']['active'] );
$yoast_seo_dismissed_total = count( $notifications_data['warnings']['dismissed'] );
$yoast_seo_total           = $notifications_data['metrics']['warnings'];

$yoast_seo_i18n_title              = __( 'Notifications', 'wordpress-seo' );
$yoast_seo_i18n_issues             = '';
$yoast_seo_i18n_no_issues          = __( 'No new notifications.', 'wordpress-seo' );
$yoast_seo_i18n_muted_issues_title = sprintf(
	/* translators: %d expands the amount of hidden notifications. */
	_n( 'You have %d hidden notification:', 'You have %d hidden notifications:', $yoast_seo_dismissed_total, 'wordpress-seo' ),
	$yoast_seo_dismissed_total
);

require WPSEO_PATH . 'admin/views/partial-notifications-template.php';

```
