# wordpress-seo/28.1/src/schema-aggregator/domain/current-site-url-provider-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.1/code/src/schema-aggregator/domain/current-site-url-provider-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.1/raw/src/schema-aggregator/domain/current-site-url-provider-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.1/code/src/schema-aggregator/domain/current-site-url-provider-interface.php#L10-L20`.

```php
<?php

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

/**
 * Interface for providing current site URL.
 */
interface Current_Site_URL_Provider_Interface {

	/**
	 * Gets the current site's home URL with trailing slash.
	 *
	 * @return string The current site's home URL.
	 */
	public function get_current_site_url(): string;
}

```
