register_sidebar action-hook . WP 3.0.0
Fires once a sidebar has been registered.
Usage
add_action( 'register_sidebar', 'action_function_name_1061' ); function action_function_name_1061( $sidebar ){ // action... }
- $sidebar(array)
- Parsed arguments for the registered sidebar.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
register_sidebar
wp-includes/widgets.php 313
do_action( 'register_sidebar', $sidebar );