[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/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 : Thu Jan 27 08:20:02 2022 Cross-referenced by PHPXref