[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_post_date()
  register_block_core_post_date()

Functions
Functions that are not part of a class:

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

return: string Returns the filtered post date for the current post wrapped inside "time" tags.
param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.

register_block_core_post_date()   X-Ref
Registers the `core/post-date` block on the server.




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