| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong |
| 4 |
namespace Yoast\WP\SEO\Editors\Framework\Seo; |
| 5 |
|
| 6 |
interface Social_Data_Provider_Interface { |
| 7 |
|
| 8 |
/** |
| 9 |
* Gets the image URL for the post's social preview. |
| 10 |
* |
| 11 |
* @return string|null The image URL for the social preview. |
| 12 |
*/ |
| 13 |
public function get_image_url(): ?string; |
| 14 |
|
| 15 |
/** |
| 16 |
* Retrieves the social title template. |
| 17 |
* |
| 18 |
* @return string The social title template. |
| 19 |
*/ |
| 20 |
public function get_social_title_template(): string; |
| 21 |
|
| 22 |
/** |
| 23 |
* Retrieves the social description template. |
| 24 |
* |
| 25 |
* @return string The social description template. |
| 26 |
*/ |
| 27 |
public function get_social_description_template(): string; |
| 28 |
|
| 29 |
/** |
| 30 |
* Retrieves the social image template. |
| 31 |
* |
| 32 |
* @return string The social description template. |
| 33 |
*/ |
| 34 |
public function get_social_image_template(): string; |
| 35 |
} |
| 36 |
|