Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Added filter for Selected Posts argument #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mehul0810
Copy link

Description of the Change

As there was no filter present to manipulate the arguments for selected posts that triggered some conflicts with fetching posts from post type not enabled PolyLang to a post type that has PolyLang enabled. So, adding a filter to let us add some additional arguments to achieve the goal.

How to test the Change

Try adding tax_query using the filter post_finder_selected_posts_args

Changelog Entry

Added - New feature
Changed - Existing functionality
Deprecated - Soon-to-be removed feature
Removed - Feature
Fixed - Bug fix
Security - Vulnerability

Credits

Props @username, @username2, ...

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.

@mehul0810 mehul0810 changed the title Added filter for Selected Posts Filter Added filter for Selected Posts argument Dec 14, 2022
@jeffpaul jeffpaul added this to the 0.5.0 milestone Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants