You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
304 B
PHTML

2 years ago
<?php
/**
* Server-side rendering of the `core/query` block.
*
* @package WordPress
*/
/**
* Registers the `core/query` block on the server.
*/
function register_block_core_query() {
register_block_type_from_metadata(
__DIR__ . '/query'
);
}
add_action( 'init', 'register_block_core_query' );