17 lines
361 B
PHP
17 lines
361 B
PHP
<?php
|
|
/**
|
|
* Server-side rendering of the `core/page-list-item` block.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
/**
|
|
* Registers the `core/page-list-item` block on server.
|
|
*
|
|
* @since 6.3.0
|
|
*/
|
|
function register_block_core_page_list_item() {
|
|
register_block_type_from_metadata( __DIR__ . '/page-list-item' );
|
|
}
|
|
add_action( 'init', 'register_block_core_page_list_item' );
|