wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/blocks/gallery.php › WordPress File
Functions8
› Server-side rendering of the `core/gallery` block.
| Function | Short description |
|---|---|
| block_core_gallery_data_id_backcompatibility | Handles backwards compatibility for Gallery Blocks, whose images feature a `data-id` attribute. |
| block_core_gallery_dynamic_image_link_attributes | Builds the link-related image block attributes for a dynamically rendered gallery image, mapping the gallery-wide `linkTo` setting onto a single image. |
| block_core_gallery_get_column_gap_value | Returns the column gap value used for Gallery image width calculations. |
| block_core_gallery_render | Renders the `core/gallery` block on the server. |
| block_core_gallery_render_context | Adds a unique ID to the gallery block context. |
| block_core_gallery_render_dynamic_image | Renders a single `core/image` block for a Gallery block running in dynamic mode, applying the gallery-wide settings that affect how an image renders. |
| block_core_gallery_resolve_dynamic_source | Resolves a Gallery block's `dynamicContent` to an ordered list of image attachment IDs. |
| register_block_core_gallery | Registers the `core/gallery` block on server. |