# wordpress-seo/28.6/src/schema-aggregator/domain/enhancement/enhancement-config-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/schema-aggregator/domain/enhancement/enhancement-config-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.6/raw/src/schema-aggregator/domain/enhancement/enhancement-config-interface.php
- Modified: 2026-02-17T12:17:50+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/domain/enhancement/enhancement-config-interface.php#L10-L20`.

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

interface Enhancement_Config_Interface {

	/**
	 * Get configuration value
	 *
	 * @param string          $key         Configuration key.
	 * @param string|int|bool $the_default Default value.
	 *
	 * @return string|int|bool Configuration value.
	 */
	public function get_config_value( string $key, $the_default );

	/**
	 * Check if enhancement is enabled
	 *
	 * @param string $enhancement Enhancement name (e.g., 'article_body', 'keywords').
	 *
	 * @return bool True if enabled.
	 */
	public function is_enhancement_enabled( string $enhancement ): bool;
}

```
