[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

File Size: 44 lines (1 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.

return: void

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

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



Generated: Tue Jan 25 01:00:04 2022 Cross-referenced by PHPXref 0.7.1