[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/blocks/ -> query.php (source)

   1  <?php
   2  /**
   3   * Server-side rendering of the `core/query` block.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  /**
   9   * Registers the `core/query` block on the server.
  10   */
  11  function register_block_core_query() {
  12      register_block_type_from_metadata(
  13          __DIR__ . '/query'
  14      );
  15  }
  16  add_action( 'init', 'register_block_core_query' );


Generated: Fri Dec 3 01:00:03 2021 Cross-referenced by PHPXref 0.7.1