[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/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: 1 time
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 : Mon Jan 30 08:20:01 2023 Cross-referenced by PHPXref