Is there any way to retrieve all fields that are linked to a specific post_type?
My logical way of attacking this would be find the rule in the database which has the post_type set to == ‘my_post_type’. Then get the post_id of that specific rule and find database entries with the meta_key starting with “field_” and the post_id of the rule.
My question now:
Is there anyway to retrieve the post_id of a rule by the post_type it is set to?
Regards,
Valentin