[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  register_block_core_pattern()
  render_block_core_pattern()

Functions
Functions that are not part of a class:

register_block_core_pattern()   X-Ref
Registers the `core/pattern` block on the server.


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

return: string Returns the output of the pattern.
param: array $attributes Block attributes.



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref