[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/ -> media-text.php (summary)

Server-side rendering of the `core/media-text` block.

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

Defines 2 functions

  render_block_core_media_text()
  register_block_core_media_text()

Functions
Functions that are not part of a class:

render_block_core_media_text( $attributes, $content )   X-Ref
Renders the `core/media-text` block on server.

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

register_block_core_media_text()   X-Ref
Registers the `core/media-text` block renderer on server.




Generated : Sat Sep 7 08:20:01 2024 Cross-referenced by PHPXref