[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_icon()
  register_block_core_icon()

Functions
Functions that are not part of a class:

render_block_core_icon( $attributes )   X-Ref
Renders the `core/icon` block on server.

return: string Returns the Icon.
param: array    $attributes The block attributes.
param: string   $content    The block content.
param: WP_Block $block      The block instance.

register_block_core_icon()   X-Ref
Registers the `core/icon` block on server.




Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref