Hey all,
We will add in next update these functions that helps with further integration of themes:
bpr_get_type($user_id) - return user business type ID (1 - Basic, 2 - Pro, 3 - VIP)
bpr_is_business($user_id) - return true if user has valid business profile, otherwise return false
bpr_show_companies() - show list of companies anywhere
Hi, you can explain better what they are for and where you have to enter these codes
I saw this code on a post where I have to enter it:
<div class = "item-bpr-type item-bpr-type - <? php echo bpr_get_type ($ user_id = osc_item_user_id ());?>">
<? php
$ user_id = osc_item_user_id ();
if (bpr_get_type ($ user_id) == 1) {echo 'Basic'; }
if (bpr_get_type ($ user_id) == 2) {echo 'Pro'; }
if (bpr_get_type ($ user_id) == 3) {echo 'VIP'; }
?>
</div>
and what it is for
??