wp/wp-includes/blocks/page-list-item.php
changeset 21 48c4eec2b7e6
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
       
     1 <?php
       
     2 /**
       
     3  * Server-side rendering of the `core/page-list-item` block.
       
     4  *
       
     5  * @package WordPress
       
     6  */
       
     7 
       
     8 /**
       
     9  * Registers the `core/page-list-item` block on server.
       
    10  *
       
    11  * @since 6.3.0
       
    12  */
       
    13 function register_block_core_page_list_item() {
       
    14 	register_block_type_from_metadata( __DIR__ . '/page-list-item' );
       
    15 }
       
    16 add_action( 'init', 'register_block_core_page_list_item' );