Yoast\WP\SEO\Abilities\User_Interface\Abilities

Set_Llms_Txt_Status_Ability::get_description │ protected │ Yoast 1.0

Returns the description of the ability.

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

Хуков нет.

Возвращает

string. The description.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_description(): string;

Код Set_Llms_Txt_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 llms.txt feature. Enabling it generates an llms.txt file for the site and keeps it up to date; disabling it removes the generated file.', 'wordpress-seo' ),
		'Yoast SEO',
	);
}