WPSEO_Post_Metabox_Formatter::get_social_description_template()privateYoast 1.0

Retrieves the social description template.

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

Хуков нет.

Возвращает

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

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

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

Код WPSEO_Post_Metabox_Formatter::get_social_description_template() Yoast 22.3

private function get_social_description_template() {
	if ( $this->use_social_templates ) {
		return $this->get_social_template( 'description' );
	}

	return '';
}