render_block_core_image


render_block_core_image ( $attributes, $content )

Parameters:
  • (array) attributes The block attributes.
  • (array) content The block content.
Returns:
  • (string) Returns the block content with the data-id attribute added.
Defined at:

Description

Renders the `core/image` block on the server, adding a data-id attribute to the element if core/gallery has added on pre-render.

Related Functions

render_block_core_file, register_block_core_image, render_block_core_page_list, render_block_core_pattern, render_block_core_site_tagline

Top Google Results

User discussions

wpseek mobile