@pitbull
Try with user id.
if(bpr_is_business(_some_user_id_here_)) { .... }
That make sense, but doesnt work if you dont know the user id or if you print a list of many users.
So to extend your answer and also help other people here, you can easily get each user id using osclass helper
osc_user_id()
and pass it inside your helper like that:
if(bpr_is_business(osc_user_id())) { //DO SOMETHING HERE }
Absolutely awesome! You can mark this as solved and the best answer as well