WPSEO_Term_Metabox_Formatter::get_social_image_template()privateYoast 1.0

Retrieves the social image template.

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

Хуков нет.

Возвращает

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

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

// private - только в коде основоного (родительского) класса
$result = $this->get_social_image_template();

Код WPSEO_Term_Metabox_Formatter::get_social_image_template() Yoast 22.4

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

	return '';
}