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
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
| 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.