[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
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 |
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 render_block_core_widget_group(). 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: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |