[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/image` block.
File Size: | 42 lines (1 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_image( $attributes, $content ) X-Ref |
Renders the `core/image` block on the server, adding a data-id attribute to the element if core/gallery has added on pre-render. param: array $attributes The block attributes. param: string $content The block content. return: string Returns the block content with the data-id attribute added. |
register_block_core_image() X-Ref |
Registers the `core/image` block on server. |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |