# wordpress-seo/trunk/src/editors/framework/seo/social-data-provider-interface.php

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

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

```php
<?php

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

interface Social_Data_Provider_Interface {

	/**
	 * Gets the image URL for the post's social preview.
	 *
	 * @return string|null The image URL for the social preview.
	 */
	public function get_image_url(): ?string;

	/**
	 * Retrieves the social title template.
	 *
	 * @return string The social title template.
	 */
	public function get_social_title_template(): string;

	/**
	 * Retrieves the social description template.
	 *
	 * @return string The social description template.
	 */
	public function get_social_description_template(): string;

	/**
	 * Retrieves the social image template.
	 *
	 * @return string The social description template.
	 */
	public function get_social_image_template(): string;
}

```
