How to use conditional fields settings?
You can hide or show fields in the add listing form with the Conditional Fields feature.
How to Add Conditional Fields?
Conditional Fields settings can be found inside the individual field settings in the Custom Fields tab.
CPT > Settings > Custom Fields > Edit Fields -> Conditional Fields
Make field conditional based on a category of the listing
It is possible to show or hide a field based on whether a category is or isn't present on the listing.
Use the "contains" to pick your value out of the list of categories stored with the listing.
Use the Category ID instead of the category name. For example, if the category "Attractions" has Category ID 22, then place 22 in the match column.