bp_nouveau_group_header_template_part()

Use the appropriate Group header and enjoy a template hierarchy

Description

Source

File: bp-templates/bp-nouveau/includes/groups/template-tags.php

1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
function bp_nouveau_group_header_template_part() {
    $template = 'group-header';
 
    if ( bp_group_use_cover_image_header() ) {
        $template = 'cover-image-header';
    }
 
    /**
     * Fires before the display of a group's header.
     *
     * @since BuddyPress 1.2.0
     */
    do_action( 'bp_before_group_header' );
 
    // Get the template part for the header
    bp_nouveau_group_get_template_part( $template );
 
    /**
     * Fires after the display of a group's header.
     *
     * @since BuddyPress 1.2.0
     */
    do_action( 'bp_after_group_header' );
 
    bp_nouveau_template_notices();
}

Changelog

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