[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 2 functions

  render_block_core_query_title()
  register_block_core_query_title()

Functions
Functions that are not part of a class:

render_block_core_query_title( $attributes )   X-Ref
Renders the `core/query-title` block on the server.
For now it only supports Archive title,
using queried object information

param: array $attributes Block attributes.
return: string Returns the query title based on the queried object.

register_block_core_query_title()   X-Ref
Registers the `core/query-title` block on the server.




Generated : Fri Apr 19 08:20:01 2024 Cross-referenced by PHPXref