wp_register_sidebar_widget

wp_register_sidebar_widget

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_register_sidebar_widget') is found 1 times:

  • /wp-includes/widgets.php line 432
    		 * @since 3.0.0
    		 *
    		 * @param array $widget An array of default widget arguments.
    		 */
    		do_action( 'wp_register_sidebar_widget', $widget );
    		$wp_registered_widgets[ $id ] = $widget;
    	}
    }
    
    /**
     * Retrieve description for widget.