$classes ) ); return sprintf( '
%2$s
', $wrapper_attributes, $content ); } /** * Registers the `core/comments-pagination` block on the server. */ function register_block_core_comments_pagination() { register_block_type_from_metadata( __DIR__ . '/comments-pagination', array( 'render_callback' => 'render_block_core_comments_pagination', ) ); } add_action( 'init', 'register_block_core_comments_pagination' );