[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_button()
  register_block_core_button()

Functions
Functions that are not part of a class:

render_block_core_button( $attributes, $content )   X-Ref
Renders the `core/button` block on the server,

return: string The block content.
param: array    $attributes The block attributes.
param: string   $content    The block content.
param: WP_Block $block      The block object.

register_block_core_button()   X-Ref
Registers the `core/button` block on server.




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