WordPress at a glance
function is not described

WP_Customize_Manager::get_autofocus() public WP 4.4.0

Get the autofocused constructs.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

Array. Mapping of 'panel', 'section', 'control' to the ID which should be autofocused.

Usage

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

Changelog

Since 4.4.0 Introduced.

Code of WP_Customize_Manager::get_autofocus() WP 5.7.2

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