# wordpress-seo/trunk/src/editors/domain/analysis-features/analysis-feature-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/editors/domain/analysis-features/analysis-feature-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/editors/domain/analysis-features/analysis-feature-interface.php
- Modified: 2026-01-20T12:23:48+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/editors/domain/analysis-features/analysis-feature-interface.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Editors\Domain\Analysis_Features;

/**
 * This interface describes an Analysis feature implementation.
 */
interface Analysis_Feature_Interface {

	/**
	 * Returns If the analysis is enabled.
	 *
	 * @return bool
	 */
	public function is_enabled(): bool;

	/**
	 * Returns the name of the object.
	 *
	 * @return string
	 */
	public function get_name(): string;

	/**
	 * Returns the legacy key used in the front-end to determine if the feature is enabled.
	 *
	 * @return string
	 */
	public function get_legacy_key(): string;
}

```
