Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Block: Add Query Total block for displaying total query results or ranges #67629

Merged
merged 16 commits into from
Dec 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/block-library/src/query-total/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Renders the `query-total` block on the server.
*

Check failure on line 10 in packages/block-library/src/query-total/index.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Whitespace found at end of line
sarthaknagoshe2002 marked this conversation as resolved.
Show resolved Hide resolved
* @since 6.7.0
sarthaknagoshe2002 marked this conversation as resolved.
Show resolved Hide resolved
*
* @param array $attributes Block attributes.
* @param string $content Block default content.
Expand Down Expand Up @@ -70,6 +72,8 @@

/**
* Registers the `query-total` block.
*

Check failure on line 75 in packages/block-library/src/query-total/index.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Whitespace found at end of line
sarthaknagoshe2002 marked this conversation as resolved.
Show resolved Hide resolved
* @since 6.7.0
sarthaknagoshe2002 marked this conversation as resolved.
Show resolved Hide resolved
*/
function register_block_core_query_total() {
register_block_type_from_metadata(
Expand Down
Loading