Yoast\WP\SEO\Editors\Framework\Seo
Social_Data_Provider_Interface::get_image_url()
Gets the image URL for the post's social preview.
Метод класса: Social_Data_Provider_Interface{}
Хуков нет.
Возвращает
Строку|null
. The image URL for the social preview.
Использование
$Social_Data_Provider_Interface = new Social_Data_Provider_Interface(); $Social_Data_Provider_Interface->get_image_url(): ?string;
Код Social_Data_Provider_Interface::get_image_url() Social Data Provider Interface::get image url Yoast 25.1
public function get_image_url(): ?string;