WP_Customize_Widgets::customize_controls_init() – Ensures all widgets get loaded into the Customizer.

You appear to be a bot. Output may be restricted

Description

Ensures all widgets get loaded into the Customizer.

Note: these actions are also fired in wp_ajax_update_widget().

Usage

WP_Customize_Widgets::customize_controls_init();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/class-wp-customize-widgets.php
Lines:

1 to 10 of 10
  public function customize_controls_init() {
    
/** This action is documented in wp-admin/includes/ajax-actions.php */
    do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

    
/** This action is documented in wp-admin/includes/ajax-actions.php */
    do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

    
/** This action is documented in wp-admin/widgets.php */
    do_action( 'sidebar_admin_setup' );
  }
 

 View on GitHub View on Trac