WP_Customize_Widgets::customize_controls_init()

Ensures all widgets get loaded into the Customizer.


Description

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


Source

File: wp-includes/class-wp-customize-widgets.php

	public function customize_controls_init() {
		/** This action is documented in wp-admin/includes/ajax-actions.php */
		do_action( 'load-widgets.php' );

		/** This action is documented in wp-admin/includes/ajax-actions.php */
		do_action( 'widgets.php' );

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


Changelog

Changelog
Version Description
WP-3.9.0 Introduced.