[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/wp-includes/blocks/ -> widget-group.php (summary)

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

File Size: 78 lines (2 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions


Functions that are not part of a class:

render_block_core_widget_group( $attributes, $content, $block )   X-Ref
Renders the 'core/widget-group' block.

return: string Rendered block.
param: array    $attributes The block attributes.
param: string   $content The block content.
param: WP_Block $block The block.

register_block_core_widget_group()   X-Ref
Registers the 'core/widget-group' block.

note_sidebar_being_rendered( $index )   X-Ref
Make a note of the sidebar being rendered before WordPress starts rendering
it. This lets us get to the current sidebar in

param: int|string $index       Index, name, or ID of the dynamic sidebar.

discard_sidebar_being_rendered()   X-Ref
Clear whatever we set in note_sidebar_being_rendered() after WordPress
finishes rendering a sidebar.

Generated : Fri Sep 30 08:20:01 2022 Cross-referenced by PHPXref