home/wwgoat/public_html/blog/wp-includes/blocks/query-title.php 0000644 00000004062 14720651143 0020742 0 ustar 00 $align_class_name ) );
return sprintf(
'<%1$s %2$s>%3$s%1$s>',
$tag_name,
$wrapper_attributes,
$title
);
}
/**
* Registers the `core/query-title` block on the server.
*
* @since 5.8.0
*/
function register_block_core_query_title() {
register_block_type_from_metadata(
__DIR__ . '/query-title',
array(
'render_callback' => 'render_block_core_query_title',
)
);
}
add_action( 'init', 'register_block_core_query_title' );