register_block_core_avatar()
Registers the core/avatar block on the server.
No Hooks.
Returns
null. Nothing (null).
Usage
register_block_core_avatar();
Changelog
| Since 6.0.0 | Introduced. |
register_block_core_avatar() register block core avatar code WP 6.9.1
function register_block_core_avatar() {
register_block_type_from_metadata(
__DIR__ . '/avatar',
array(
'render_callback' => 'render_block_core_avatar',
)
);
}