[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/ -> post-author.php (summary)

Server-side rendering of the `core/post-author` block.

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

Defines 2 functions

  render_block_core_post_author()
  register_block_core_post_author()

Functions
Functions that are not part of a class:

render_block_core_post_author( $attributes, $content, $block )   X-Ref
Renders the `core/post-author` block on the server.

param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.
return: string Returns the rendered author block.

register_block_core_post_author()   X-Ref
Registers the `core/post-author` block on the server.




Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref