A WordPress-centric search engine for devs and theme authors

wp-includes/blocks/widget-group.php › WordPress File

Server-side rendering of the `core/widget-group` block.

Function Short description
discard_sidebar_being_renderedClear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.
note_sidebar_being_renderedMake 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().
register_block_core_widget_groupRegisters the 'core/widget-group' block.
render_block_core_widget_groupRenders the 'core/widget-group' block.