[ Index ]

PHP Cross Reference of WordPress




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

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

File Size: 149 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions


Functions that are not part of a class:

render_block_core_legacy_widget( $attributes )   X-Ref
Renders the 'core/legacy-widget' block.

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

register_block_core_legacy_widget()   X-Ref
Registers the 'core/legacy-widget' block.

handle_legacy_widget_preview_iframe()   X-Ref
Intercepts any request with legacy-widget-preview in the query param and, if
set, renders a page containing a preview of the requested Legacy Widget

Generated: Tue Jul 16 01:00:03 2024 Cross-referenced by PHPXref 0.7.1