# wordpress-seo/28.6/src/schema-aggregator/application/schema-aggregator-announcement.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/schema-aggregator/application/schema-aggregator-announcement.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.6/raw/src/schema-aggregator/application/schema-aggregator-announcement.php
- Modified: 2026-05-12T12:03:36+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/28.6/code/src/schema-aggregator/application/schema-aggregator-announcement.php#L10-L20`.

```php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Schema_Aggregator\Application;

use Yoast\WP\SEO\Helpers\Current_Page_Helper;
use Yoast\WP\SEO\Introductions\Application\User_Allowed_Trait;
use Yoast\WP\SEO\Introductions\Domain\Introduction_Interface;

/**
 * Represents the introduction for the Schema aggregator feature announcement.
 */
class Schema_Aggregator_Announcement implements Introduction_Interface {

	use User_Allowed_Trait;

	public const ID = 'schema-aggregator-announcement';

	/**
	 * Holds the current page helper.
	 *
	 * @var Current_Page_Helper
	 */
	private $current_page_helper;

	/**
	 * Constructs the introduction.
	 *
	 * @param Current_Page_Helper $current_page_helper The current page helper.
	 */
	public function __construct( Current_Page_Helper $current_page_helper ) {
		$this->current_page_helper = $current_page_helper;
	}

	/**
	 * Returns the ID.
	 *
	 * @return string The ID.
	 */
	public function get_id() {
		return self::ID;
	}

	/**
	 * Returns the requested pagination priority. Lower means earlier.
	 *
	 * @return int The priority.
	 */
	public function get_priority() {
		return 20;
	}

	/**
	 * Returns whether this introduction should show.
	 *
	 * @return bool Whether this introduction should show.
	 */
	public function should_show() {
		return $this->current_page_helper->is_yoast_seo_page()
			&& $this->is_user_allowed( [ 'wpseo_manage_options' ] );
	}
}

```
