Yoast\WP\SEO\Abilities\User_Interface\Abilities
Set_Open_Graph_Status_Ability::get_description
Returns the description of the ability.
Метод класса: Set_Open_Graph_Status_Ability{}
Хуков нет.
Возвращает
string. The description.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_description(): string;
Код Set_Open_Graph_Status_Ability::get_description() Set Open Graph 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 Open Graph data feature. Enabling it outputs Open Graph meta tags on the site\'s pages, so Facebook and other social media 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',
);
}