Yoast\WP\SEO\Abilities\User_Interface\Abilities
Set_X_Card_Status_Ability::get_description
Returns the description of the ability.
Метод класса: Set_X_Card_Status_Ability{}
Хуков нет.
Возвращает
string. The description.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_description(): string;
Код Set_X_Card_Status_Ability::get_description() Set X Card Status Ability::get description Yoast 28.8
protected function get_description(): string {
return \sprintf(
/* translators: %s expands to Yoast SEO */
\__( 'Enable or disable %s\'s X card data feature. Enabling it outputs X card meta tags on the site\'s pages, so X can display a preview with an image and a text excerpt when a link to the site is shared; disabling it stops outputting the tags.', 'wordpress-seo' ),
'Yoast SEO',
);
}