-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
UI: Hierarchical taxonomies as checkboxes in attachment modal #3767
base: main
Are you sure you want to change the base?
Conversation
… to media library
This looks cool, I'm open to it being included. What's left? |
Hi Scott, See todo and comment :) |
* Validate for an array | ||
* Otherwise we didn't change this functionality since this is a string by default in WP core | ||
*/ | ||
if ( is_taxonomy_hierarchical( $tax ) && is_array( $terms ) ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also verify that this is a Pods field?
See: #3765
TODO:
@sc0ttkclark Currently the PR is not ready, it's dependent on wether the attachment post type has any fields because otherwise nothing gets loaded. Please let me know if you think this should be a Pods feature. If yes I'll continue with this in Pods.