Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [Resolved] Customizing bp_get_displayed_user_nav()


defunct
Participant

@defunctlife

Hey Jeff,

Yeah I had tried that already (tried 99 etc…) and nothing seems to work. Thanks for trying though, really do appreciate the time.

I decided to take another route and override the $bp global in my functions.php

$disp_user = $bp->displayed_user->id;
if( bp_friend_get_total_requests_count($disp_user) > 0) {
$bp->bp_nav .= ‘(‘.bp_friend_get_total_requests_count($disp_user).’)‘;
}

This doesn’t really allow for the customization I want, but I guess it will have to do for now.

Skip to toolbar