A WordPress-centric search engine for devs and theme authors

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

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

Function Short description
gutenberg_block_core_file_update_interactive_view_scriptReplaces view script for the File block with version using Interactivity API.
register_block_core_fileRegisters the `core/file` block on server.
render_block_core_fileWhen the `core/file` block is rendering, check if we need to enqueue the `'wp-block-file-view` script.