Support › Meta Box Conditional Logic › How to hide field in the meta box by post type?Resolved
There's a list of available post-related params for conditions in documentation:
post_ID Post ID
page_template Page template
parent_id Parent post ID
post_format Post format
Could you consider adding post_type parameter there?
Or there's a different approach to manage a field visibility based on post type?
I have the same meta box registered for 2 different post types but I'd like to hide some fields in one of them.
We don't have that condition at the moment. But you can do that with custom callback.