WP_Customize_Manager::get_autofocus
Gets the autofocused constructs.
Method of the class: WP_Customize_Manager{}
No Hooks.
Returns
String[]. 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. |
WP_Customize_Manager::get_autofocus() WP Customize Manager::get autofocus code WP 6.9
public function get_autofocus() {
return $this->autofocus;
}