GC_Customize_Widgets::customize_controls_init()

最后更新于:2021-11-27 09:51:05

GC_Customize_Widgets::customize_controls_init()

Ensures all widgets get loaded into the Customizer.

源文件

文件: gc-includes/class-gc-customize-widgets.php

	public function customize_controls_init() {
		/** This action is documented in gc-admin/includes/ajax-actions.php */
		do_action( 'load-widgets.php' ); // phpcs:ignore GeChiUI.NamingConventions.ValidHookName.UseUnderscores

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

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