I’m trying to use bp_group_name() in
if (bp_group_name()!='General') {
//code
}
Instead of using the value of bp_group_name() in the IF, it displays the value on the page.
Sorry if the way I described this was a bit off…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
bp_get_group_name()?http://bp-dev.org/phpxref/_functions/bp_get_group_name.html