Skip to:
Content

BuddyPress.org

Changeset 1781


Ignore:
Timestamp:
09/03/2009 07:08:57 PM (16 years ago)
Author:
apeatling
Message:

Adding 'bp_get_the_profile_group_id' function.

File:
1 edited

Legend:

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

    r1760 r1781  
    224224}
    225225
     226function bp_the_profile_group_id() {
     227    echo bp_get_the_profile_group_id();
     228}
     229    function bp_get_the_profile_group_id() {
     230        global $group;
     231        return apply_filters( 'bp_get_the_profile_group_id', $group->id );
     232    }
     233
    226234function bp_the_profile_group_name() {
    227235    echo bp_get_the_profile_group_name();
Note: See TracChangeset for help on using the changeset viewer.