[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_comment_date()
  register_block_core_comment_date()

Functions
Functions that are not part of a class:

render_block_core_comment_date( $attributes, $content, $block )   X-Ref
Renders the `core/comment-date` block on the server.

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

register_block_core_comment_date()   X-Ref
Registers the `core/comment-date` block on the server.




Generated : Tue Jul 5 08:20:01 2022 Cross-referenced by PHPXref