Yoast\WP\SEO\Abilities\User_Interface\Abilities
Set_Xml_Sitemap_Status_Ability::get_description
Returns the description of the ability.
Метод класса: Set_Xml_Sitemap_Status_Ability{}
Хуков нет.
Возвращает
string. The description.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_description(): string;
Код Set_Xml_Sitemap_Status_Ability::get_description() Set Xml Sitemap 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 XML sitemap feature. Enabling it serves the sitemap index at /sitemap_index.xml and its sub-sitemaps, and replaces the WordPress core sitemaps; disabling it stops serving them.', 'wordpress-seo' ),
'Yoast SEO',
);
}