Hi there,
I’ve been perusing the documentation a bit and came across Custom location rules, which would be great if I wanted to add a select field option. However, I want to conditionally show a field group on a custom post type if certain specific conditions are met (and I want to manage these conditions via code, not a select field).
For instance: 1) if plugin enabled 2) then, show field group on CPT.
Can you please let me know what I need to hook into in order to accomplish this?
I’m hazarding a guess that it may has something to do with acf_location_post_template, or acf/get_field_group
but if someone could point me in the right direction before I go down a rabbit-hole, it would be much appreciated!
Thanks in advance