WordPress at a glance
action is not described

get_sidebar action-hook . WP 2.2.0

Fires before the sidebar template file is loaded.

Usage

add_action( 'get_sidebar', 'action_function_name_6772' );
function action_function_name_6772( $name ){
	// action...
}
$name(string/null)
Name of the specific sidebar file to use. null for the default sidebar.

Notes

  • Since 2.8.0 $name parameter added.

Where the hook is called

get_sidebar()
wp-includes/general-template.php 101
do_action( 'get_sidebar', $name );

Where the hook is used (in WP core)

Does not used.