wp_register_sidebar_widget action-hookWP 3.0.0

Fires once for each registered widget.

Usage

add_action( 'wp_register_sidebar_widget', 'wp_kama_register_sidebar_widget_action' );

/**
 * Function for `wp_register_sidebar_widget` action-hook.
 * 
 * @param array $widget An array of default widget arguments.
 *
 * @return void
 */
function wp_kama_register_sidebar_widget_action( $widget ){

	// action...
}
$widget(array)
An array of default widget arguments.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wp_register_sidebar_widget()
wp_register_sidebar_widget
wp-includes/widgets.php 422
do_action( 'wp_register_sidebar_widget', $widget );

Where the hook is used in WordPress

Usage not found.