WPSEO_Taxonomy_Fields::get_settings_fields()protectedYoast 1.0

Returns array with the fields for the settings tab.

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

Хуков нет.

Возвращает

Массив.

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

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

Код WPSEO_Taxonomy_Fields::get_settings_fields() Yoast 22.4

protected function get_settings_fields() {
	return [
		'noindex' => [
			'label'       => '',
			'description' => '',
			'type'        => 'hidden',
			'options'     => '',
			'hide'        => false,
		],
		'bctitle' => [
			'label'       => '',
			'description' => '',
			'type'        => 'hidden',
			'options'     => '',
			'hide'        => ( WPSEO_Options::get( 'breadcrumbs-enable' ) !== true ),
		],
		'canonical' => [
			'label'       => '',
			'description' => '',
			'type'        => 'hidden',
			'options'     => '',
			'hide'        => false,
		],
	];
}