note_sidebar_being_rendered


note_sidebar_being_rendered ( $index )

Parameters:
  • (int|string) index Index, name, or ID of the dynamic sidebar.
Defined at:

Description

Make a note of the sidebar being rendered before WordPress starts rendering it. This lets us get to the current sidebar in render_block_core_widget_group().

Related Functions

discard_sidebar_being_rendered, block_core_heading_render, unregister_sidebar_widget, register_sidebar_widget, _wp_sidebars_changed

Top Google Results

User discussions

wpseek mobile