-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a filter to
build_query_vars_from_query_block
(#43590)
* Add a filter to `build_query_vars_from_query_block` The filter allows Query Loop block variation to hook into the query and possibly inject custom query parameters. * Move `build_query_vars_from_query_block` to 6.1 compat and add docs * Apply suggestions from code review * Change filter name to `query_loop_block_query_vars` * Fix docs typo * Fix docs version Co-authored-by: Nik Tsekouras <[email protected]> * Elaborate filter docs * Update lib/compat/wordpress-6.1/blocks.php * Update lib/compat/wordpress-6.1/blocks.php Co-authored-by: Nik Tsekouras <[email protected]> Co-authored-by: Greg Ziółkowski <[email protected]>
- Loading branch information
1 parent
8bdfdff
commit bc4ecd4
Showing
2 changed files
with
142 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters