[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_comment_author_name()
  register_block_core_comment_author_name()

Functions
Functions that are not part of a class:

render_block_core_comment_author_name( $attributes, $content, $block )   X-Ref
Renders the `core/comment-author-name` block on the server.

param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.
return: string Return the post comment's author.

register_block_core_comment_author_name()   X-Ref
Registers the `core/comment-author-name` block on the server.




Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1