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

Introduce a new hook to allow filtering the query parameters for the query that fetches the posts to be updated #113

Conversation

kmgalanakis
Copy link
Contributor

Description of the Change

In this MR I'm adding a new filter to allow filtering the query parameters of the query that fetches the posts to be updated.

Closes #105

How to test the Change

Add a filter callback to a theme's or plugin's code and verify that a custom query parameter can be added in the parameters' array for the query.

Changelog Entry

Added - Adding a new filter to allow filtering the query parameters of the query that fetches the posts to be updated.

Credits

Props @sanketio for requesting this.

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@kmgalanakis kmgalanakis requested review from a team and dsawardekar as code owners June 16, 2023 13:26
@kmgalanakis kmgalanakis requested review from faisal-alvi and removed request for a team June 16, 2023 13:26
@kmgalanakis kmgalanakis force-pushed the feature/allow-filtering-query-params-for-posts-to-be-updated branch from 33af9ab to ffe4a17 Compare June 16, 2023 13:29
@jeffpaul jeffpaul added this to the 1.2.0 milestone Jun 16, 2023
@jeffpaul jeffpaul requested a review from Sidsector9 June 16, 2023 15:59
@Sidsector9 Sidsector9 merged commit 6818328 into develop Jun 20, 2023
@Sidsector9 Sidsector9 deleted the feature/allow-filtering-query-params-for-posts-to-be-updated branch June 20, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add filter to modify posts query parameters
3 participants