-
Notifications
You must be signed in to change notification settings - Fork 158
Allow taxonomy filter with remote site posts when pulling content #1327
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
Allow taxonomy filter with remote site posts when pulling content #1327
Conversation
…s HTML Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@dkotter @peterwilsoncc any concerns with this approach? |
No, I think that's fine. I'll admit I'm a little confused on all the different PRs we have here so merging this into the main branch will help a bit |
Note
This is a part 2 for #428, and a replacement for #1244 (which only supports category filter)
Description of the Change
This update enhances the "Pull" feature by enabling taxonomy-based filtering for content fetched from remote sites. It adds:
dt_allowed_pull_taxonomies- allows more taxonomy filters. By default, onlycategoryis allowed. This is a general filter for all the taxonomies supported by all the post-types.dt_available_pull_taxonomy_terms- allows filtering the terms.distributable_{$taxonomy}_terms- allows distributable terms based on the taxonomy.How to test the Change
Reset Filtersbutton should be visible.Changelog Entry
Credits
Props @sanketio
Checklist: