| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/avatar` block.
| File Size: | 166 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| 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. |
| get_block_core_avatar_border_attributes( $attributes ) X-Ref |
| Generates class names and styles to apply the border support styles for the Avatar block. param: array $attributes The block attributes. return: array The border-related classnames and styles for the block. |
| register_block_core_avatar() X-Ref |
| Registers the `core/avatar` block on the server. |
| Generated : Thu Oct 30 08:20:06 2025 | Cross-referenced by PHPXref |