WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Customize_Widgets::customize_controls_init() public WP 3.9.0

Ensures all widgets get loaded into the Customizer.

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

Это метод класса: WP_Customize_Widgets{}

Возвращает

Null. Ничего.

Использование

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->customize_controls_init();

Список изменений

С версии 3.9.0 Введена.

Код WP_Customize_Widgets::customize_controls_init() WP 5.5.1

wp-includes/class-wp-customize-widgets.php
<?php
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' );
}