PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 27.8
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v27.8
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / editors / framework / seo / social-data-provider-interface.php

social-data-provider-interface.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 27.8, at src/editors/framework/seo/social-data-provider-interface.php

36 lines 828 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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