bp_get_the_profile_group_id()
Return the XProfile group ID.
Description
Return
(int)
Source
File: bp-xprofile/bp-xprofile-template.php
function bp_get_the_profile_group_id() { global $group; /** * Filters the XProfile group ID. * * @since BuddyPress 1.1.0 * * @param int $id ID for the profile group. */ return (int) apply_filters( 'bp_get_the_profile_group_id', $group->id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.