A WordPress-centric search engine for devs and theme authors



get_sidebar ›

Since2.8.0
Deprecatedn/a
do_action( 'get_sidebar', $name )
Parameters:
  • (string|null) $name Name of the specific sidebar file to use. null for the default sidebar.
    Required: Yes
Defined at:
Codex:

Fires before the sidebar template file is loaded.





Source

do_action( 'get_sidebar', $name );