[ 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: 103 lines (3 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, $content, $block )   X-Ref
Renders the `core/query-title` block on the server.
For now it supports Archive title, Search title, and Post Type Label,
using queried object information

param: array  $attributes Block attributes.
param: array  $_content   Block content.
param: object $block      Block instance.
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 : Thu Oct 30 08:20:06 2025 Cross-referenced by PHPXref