WordPress at a glance
function is not described

WP_Customize_Widgets::schedule_customize_register() public WP 3.9.0

Ensures widgets are available for all types of previews.

When in preview, hook to 'customize_register' for settings after WordPress is loaded so that all filters have been initialized (e.g. Widget Visibility).

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

No Hooks.


Null. Nothing.


$WP_Customize_Widgets = new WP_Customize_Widgets();


Since 3.9.0 Introduced.

Code of WP_Customize_Widgets::schedule_customize_register() WP 5.5.1

public function schedule_customize_register() {
	if ( is_admin() ) {
	} else {
		add_action( 'wp', array( $this, 'customize_register' ) );