wp/wp-includes/blocks/query.php
changeset 18 be944660c56a
child 21 48c4eec2b7e6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wp/wp-includes/blocks/query.php	Wed Sep 21 18:19:35 2022 +0200
@@ -0,0 +1,16 @@
+<?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' );