bp_nouveau_groups_customizer_sections( array $sections = array() )

Add sections to the customizer for the groups component.

Description

Parameters

$sections

(Optional) the Customizer sections to add.

Default value: array()

Return

(array) the Customizer sections to add.

Source

File: bp-templates/bp-nouveau/includes/groups/functions.php

function bp_nouveau_groups_customizer_sections( $sections = array() ) {
	return array_merge( $sections, array(
		'bp_nouveau_group_primary_nav' => array(
			'title'       => __( 'Group Navigation', 'buddyboss' ),
			'panel'       => 'bp_nouveau_panel',
			'priority'    => 40,
			'description' => __( 'Customize the navigation menu for groups. See your changes by navigating to a group in the live-preview window.', 'buddyboss' ),
		),
	) );
}

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.