Skip to:
Content
Pages
Categories
Search
Top
Bottom
  • Hi,

    befor I updated to V12 I used bp_init hook to set the default profile tab by using BP_DEFAULT_COMPONENT. In my case I set a new default tab only on the users own pages like this:

    if ( bp_is_user() ) {

    $current_user = get_current_user_id();
    $displayed_user = $bp->displayed_user;
    $displayed_user_id = $displayed_user->id;

    if…[Read more]

Skip to toolbar