[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/file` block.
File Size: | 62 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_file( $attributes, $content ) X-Ref |
When the `core/file` block is rendering, check if we need to enqueue the `wp-block-file-view` script. param: array $attributes The block attributes. param: string $content The block content. param: WP_Block $block The parsed block. return: string Returns the block content. |
register_block_core_file() X-Ref |
Registers the `core/file` block on server. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |