Yoast\WP\SEO\Abilities\User_Interface\Abilities

Set_Llms_Txt_Status_Ability::get_additional_output_properties │ protected │ Yoast 1.0

Returns the warning property that reports a failed file generation.

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

Хуков нет.

Возвращает

array<string,. array<string, mixed>> The additional output schema properties.

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

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

Код Set_Llms_Txt_Status_Ability::get_additional_output_properties() Yoast 28.8

protected function get_additional_output_properties(): array {
	return [
		'warning' => [
			'type'        => 'string',
			'description' => \__( 'Only present when the feature is enabled but the llms.txt file could not be generated. Meant to be relayed to the user.', 'wordpress-seo' ),
		],
	];
}