[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_post_title()
  register_block_core_post_title()

Functions
Functions that are not part of a class:

render_block_core_post_title( $attributes, $content, $block )   X-Ref
Renders the `core/post-title` 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 filtered post title for the current post wrapped inside "h1" tags.

register_block_core_post_title()   X-Ref
Registers the `core/post-title` block on the server.




Generated : Mon Oct 18 08:20:03 2021 Cross-referenced by PHPXref