[ Index ]

PHP Cross Reference of WordPress




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

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

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

Defines 2 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 Dec 3 01:00:03 2021 Cross-referenced by PHPXref 0.7.1