Core Function
View Source on Trac ↗ block_core_gallery_render()
block_core_gallery_render( mixed $attributes, mixed $content ) Renders the `core/gallery` block on the server.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $attributes array | Attributes of the block being rendered. Required |
| $content string | Content of the block being rendered. Required |
Return Value
(string)
The content of the block being rendered.
Function Information
Since Version
6.0.0
Source File
wp-includes/blocks/gallery.php
Advertisement