[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/ -> cover.php (summary)

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

File Size: 101 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  render_block_core_cover()
  register_block_core_cover()

Functions
Functions that are not part of a class:

render_block_core_cover( $attributes, $content )   X-Ref
Renders the `core/cover` block on server.

param: array  $attributes The block attributes.
param: string $content    The block rendered content.
return: string Returns the cover block markup, if useFeaturedImage is true.

register_block_core_cover()   X-Ref
Registers the `core/cover` block renderer on server.




Generated : Tue Dec 24 08:20:01 2024 Cross-referenced by PHPXref