bp_nouveau_activity_customizer_controls( array $controls = array() )
Add controls for the settings of the customizer for the activity component.
Description
Parameters
- $controls
-
(Optional) The controls to add.
Default value: array()
Return
(array) the controls to add.
Source
File: bp-templates/bp-nouveau/includes/activity/functions.php
function bp_nouveau_activity_customizer_controls( $controls = array() ) { return array_merge( $controls, array( // 'act_dir_layout' => array( // 'label' => __( 'Use column navigation for the Activity directory.', 'buddyboss' ), // 'section' => 'bp_nouveau_dir_layout', // 'settings' => 'bp_nouveau_appearance[activity_dir_layout]', // 'type' => 'checkbox', // ), // 'act_dir_tabs' => array( // 'label' => __( 'Use tab styling for Activity directory navigation.', 'buddyboss' ), // 'section' => 'bp_nouveau_dir_layout', // 'settings' => 'bp_nouveau_appearance[activity_dir_tabs]', // 'type' => 'checkbox', // ), ) ); }
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.