Skip to:
Content

BuddyPress.org

Changeset 10780


Ignore:
Timestamp:
05/19/2016 03:15:49 AM (9 years ago)
Author:
boonebgorges
Message:

Pass the $group_id to the bp_get_profile_group_name filter.

Props Offereins.
See #6997.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r10740 r10780  
    11021102         *
    11031103         * @since 1.0.0
    1104          *
    1105          * @param string $name Name of the profile group.
    1106          */
    1107         return apply_filters( 'bp_get_profile_group_name', $group->name );
     1104         * @since 2.6.0 Added the `$group_id` parameter
     1105         *
     1106         * @param string $name     Name of the profile group.
     1107         * @param int    $group_id ID of the profile group.
     1108         */
     1109        return apply_filters( 'bp_get_profile_group_name', $group->name, $group_id );
    11081110    }
    11091111
Note: See TracChangeset for help on using the changeset viewer.