[ Index ]

PHP Cross Reference of WordPress




/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:0 times
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.

param: array    $attributes The block attributes.
param: string   $content The block content.
param: WP_Block $block The block.
return: string Rendered 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: Tue Jan 25 01:00:04 2022 Cross-referenced by PHPXref 0.7.1