# wordpress-seo/27.8/src/editors/framework/seo/title-data-provider-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/27.8/code/src/editors/framework/seo/title-data-provider-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/27.8/raw/src/editors/framework/seo/title-data-provider-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/27.8/code/src/editors/framework/seo/title-data-provider-interface.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong
namespace Yoast\WP\SEO\Editors\Framework\Seo;

interface Title_Data_Provider_Interface {

	/**
	 * Retrieves the title template.
	 *
	 * @param bool $fallback Whether to return the hardcoded fallback if the template value is empty. Default true.
	 *
	 * @return string The title template.
	 */
	public function get_title_template( bool $fallback = true ): string;
}

```
