- This topic has 1 reply, 2 voices, and was last updated 11 months, 1 week ago by .
There’s a list of available post-related params for conditions in documentation:
Param Description 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.
- You must be logged in to reply to this topic.