# wordpress-seo/trunk/src/promotions/application/promotion-manager-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/promotions/application/promotion-manager-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/promotions/application/promotion-manager-interface.php
- Modified: 2024-01-19T10:31: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/trunk/code/src/promotions/application/promotion-manager-interface.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Promotions\Application;

/**
 * Interface for the promotion manager.
 */
interface Promotion_Manager_Interface {

	/**
	 * Whether the promotion is effective.
	 *
	 * @param string $promotion_name The name of the promotion.
	 *
	 * @return bool Whether the promotion is effective.
	 */
	public function is( string $promotion_name ): bool;

	/**
	 * Get the list of promotions.
	 *
	 * @return array The list of promotions.
	 */
	public function get_promotions_list(): array;
}

```
