changeset 18 | be944660c56a |
child 19 | 3d72ae0968f4 |
17:34716fd837a4 | 18:be944660c56a |
---|---|
1 <?php |
|
2 /** |
|
3 * Server-side rendering of the `core/query-pagination` block. |
|
4 * |
|
5 * @package WordPress |
|
6 */ |
|
7 |
|
8 /** |
|
9 * Registers the `core/query-pagination` block on the server. |
|
10 */ |
|
11 function register_block_core_query_pagination() { |
|
12 register_block_type_from_metadata( |
|
13 __DIR__ . '/query-pagination' |
|
14 ); |
|
15 } |
|
16 add_action( 'init', 'register_block_core_query_pagination' ); |