WordPress at Your Fingertips
action is not described

get_sidebar action-hook . WP 2.2.0

Fires before the sidebar template file is loaded.


add_action( 'get_sidebar', 'action_function_name_193', 10, 2 );
function action_function_name_193( $name, $args ){
	// action...
Name of the specific sidebar file to use. Null for the default sidebar.
Additional arguments passed to the sidebar template.


Since 2.2.0 Introduced.
Since 2.8.0 The $name parameter was added.
Since 5.5.0 The $args parameter was added.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.