mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 23:55:12 +01:00
15 lines
342 B
PHP
15 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' );
|