Yoast\WP\SEO\Editors\Framework\Seo\Posts
Social_Data_Provider::get_social_title_template
Retrieves the social title template.
Метод класса: Social_Data_Provider{}
Хуков нет.
Возвращает
Строку. The social title template.
Использование
$Social_Data_Provider = new Social_Data_Provider(); $Social_Data_Provider->get_social_title_template(): string;
Код Social_Data_Provider::get_social_title_template() Social Data Provider::get social title template Yoast 27.6
public function get_social_title_template(): string {
if ( $this->use_social_templates ) {
return $this->get_social_template( 'title' );
}
return '';
}