widgets_init action-hook . WP 2.2.0
Fires after all default WordPress widgets have been registered.
Usage
add_action( 'widgets_init', 'action_function_name_3393' ); function action_function_name_3393(){ // action... }
Changelog
Since 2.2.0 | Introduced. |
Where the hook is called
widgets_init
wp-includes/widgets.php 1795
do_action( 'widgets_init' );
Where in WP core the hook is used WordPress
wp-includes/widgets.php 104
add_action( 'widgets_init', array( $this, 'register_settings' ), 95 );
wp-includes/widgets.php 32
add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 );