15 líneas
342 B
PHP
15 líneas
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' );
|