render_block_core_file


render_block_core_file ( $attributes, $content )

Parameters:
  • (array) attributes The block attributes.
  • (array) content The block content.
Returns:
  • (string) Returns the block content.
Defined at:

Description

When the `core/file` block is rendering, check if we need to enqueue the `'wp-block-library-file` script.

Related Functions

register_block_core_file, render_block_core_site_title, render_block_core_rss, render_block_core_post_title, render_block_core_block

Top Google Results

User discussions

wpseek mobile