equal
deleted
inserted
replaced
5 * @package WordPress |
5 * @package WordPress |
6 */ |
6 */ |
7 |
7 |
8 /** |
8 /** |
9 * Renders the `core/comments-pagination-numbers` block on the server. |
9 * Renders the `core/comments-pagination-numbers` block on the server. |
|
10 * |
|
11 * @since 6.0.0 |
10 * |
12 * |
11 * @param array $attributes Block attributes. |
13 * @param array $attributes Block attributes. |
12 * @param string $content Block default content. |
14 * @param string $content Block default content. |
13 * @param WP_Block $block Block instance. |
15 * @param WP_Block $block Block instance. |
14 * |
16 * |
48 ); |
50 ); |
49 } |
51 } |
50 |
52 |
51 /** |
53 /** |
52 * Registers the `core/comments-pagination-numbers` block on the server. |
54 * Registers the `core/comments-pagination-numbers` block on the server. |
|
55 * |
|
56 * @since 6.0.0 |
53 */ |
57 */ |
54 function register_block_core_comments_pagination_numbers() { |
58 function register_block_core_comments_pagination_numbers() { |
55 register_block_type_from_metadata( |
59 register_block_type_from_metadata( |
56 __DIR__ . '/comments-pagination-numbers', |
60 __DIR__ . '/comments-pagination-numbers', |
57 array( |
61 array( |