wp_get_sidebar


wp_get_sidebar ( $id )

Parameters:
  • (string) id The sidebar ID.
Returns:
  • (array|null) The discovered sidebar, or null if it is not registered.
Defined at:

Description

Retrieves the registered sidebar with the given ID.

Related Functions

get_sidebar, wp_get_sites, wp_find_widgets_sidebar, wp_get_sidebars_widgets, wp_get_split_term

Top Google Results

User discussions

wpseek mobile