bp_profile_group_name( bool $deprecated = true )

Output the XProfile group name.

Description

Parameters

$deprecated

(Optional) Deprecated boolean parameter.

Default value: true

Return

(string|null)

Source

File: bp-xprofile/bp-xprofile-template.php

1193
1194
1195
1196
1197
1198
1199
function bp_profile_group_name( $deprecated = true ) {
    if ( ! $deprecated ) {
        return bp_get_profile_group_name();
    } else {
        echo bp_get_profile_group_name();
    }
}

Changelog

Changelog
Version Description
BuddyPress 1.0.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.