[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





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

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

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

Defines 2 functions


Functions that are not part of a class:

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

param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.
return: string Return the avatar.

register_block_core_avatar()   X-Ref
Registers the `core/avatar` block on the server.

Generated : Sun Jun 4 08:20:02 2023 Cross-referenced by PHPXref