Yoast\WP\SEO\Editors\Framework\Seo\Posts

Social_Data_Provider::get_social_image_template()publicYoast 1.0

Retrieves the social image template.

Метод класса: Social_Data_Provider{}

Хуков нет.

Возвращает

Строку. The social description template.

Использование

$Social_Data_Provider = new Social_Data_Provider();
$Social_Data_Provider->get_social_image_template(): string;

Код Social_Data_Provider::get_social_image_template() Yoast 25.0

public function get_social_image_template(): string {
	if ( $this->use_social_templates ) {
		return $this->get_social_template( 'image-url' );
	}

	return '';
}