widgets_init

widgets_init

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('widgets_init') is found 1 times:

  • /wp-includes/widgets.php line 1858
    	 * Fires after all default WordPress widgets have been registered.
    	 *
    	 * @since 2.2.0
    	 */
    	do_action( 'widgets_init' );
    }
    
    /**
     * Enables the widgets block editor. This is hooked into 'after_setup_theme' so
     * that the block editor is enabled by default but can be disabled by themes.
     *
    

See this hook used in plugins: