Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/13/2009 01:24:21 AM (15 years ago)
Author:
apeatling
Message:

Add first revision of new default BuddyPress parent theme. This theme is designed to be extended from with child themes, not used directly. The original default themes from the old two theme system are deprecated, but will remain compatible with 1.1. Still more work to do there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-templatetags.php

    r1643 r1655  
    619619        return false;
    620620    }
     621
     622function bp_current_profile_group_id() {
     623    echo bp_get_current_profile_group_id();
     624}
     625    function bp_get_current_profile_group_id() {
     626        global $bp;
     627       
     628        if ( !$profile_group_id = $bp->action_variables[1] )
     629            $profile_group_id = 1;
     630   
     631        return apply_filters( 'bp_get_current_profile_group_id', $profile_group_id ); // admin/profile/edit/[group-id]
     632    }
    621633   
    622634
Note: See TracChangeset for help on using the changeset viewer.