14 lines
342 B
PHP
14 lines
342 B
PHP
<?php
|
|
/**
|
|
* Server-side rendering of the `core/page-list-item` block.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
/**
|
|
* Registers the `core/page-list-item` block on server.
|
|
*/
|
|
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' );
|