Home › Forums › ACF PRO › Adding locations to a field group › Reply To: Adding locations to a field group
Hello John,
Thanks for your answer, I think a filter is what I need but I’m not sure how to modify $group
…
I think I have to add this (my 2 CPT) :
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'portfolio',
),
),
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'team',
),
),
)
But I don’t know how 🙁
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.