How can I get a group ID that displayed user is joining?
-
Hello everyone, I’m very new to buddypress and PHP.
I’m stuck to get a group ID that displayed user is joining.
What exactly I’m trying to do is to change a CSS class if the user is joining specific group.I’m guessing it’s gonna be like this:
if( [group ID that displayed user is joining] == 1){
echo ‘‘;
} else {
echo ”;
}Any ideas?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How can I get a group ID that displayed user is joining?’ is closed to new replies.