WP_Customize_Manager::get_autofocus()publicWP 4.4.0

Gets the autofocused constructs.

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

Хуков нет.

Возвращает

Строку[]. Mapping of 'panel', 'section', 'control' to the ID which should be autofocused.

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

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->get_autofocus();

Список изменений

С версии 4.4.0 Введена.

Код WP_Customize_Manager::get_autofocus() WP 6.5.2

public function get_autofocus() {
	return $this->autofocus;
}