Using Groups as IF statements in ACF
-
Hi,
I wondered if there was a way to use different groups as conditions with IF statements in our templates, the issue being that they’re within an Advanced Custom Fields repeater, so they would be PHP variables. Something like this:
if(group = $group) {
// displays if the user is in the group
} else {
// displays if the usr is not in the group
}Could you help me achieve this using your plugin?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using Groups as IF statements in ACF’ is closed to new replies.