A WordPress-centric search engine for devs and theme authors

wp-includes/blocks/image.php › WordPress File

Server-side rendering of the `core/image` block.

Function Short description
block_core_image_get_lightbox_settingsAdds the lightboxEnabled flag to the block data.
block_core_image_render_lightboxAdds the directives and layout needed for the lightbox behavior.
register_block_core_imageRegisters the `core/image` block on server.
render_block_core_imageRenders the `core/image` block on the server, adding a data-id attribute to the element if core/gallery has added on pre-render.