bp_nouveau_blogs_customizer_controls( array $controls = array() )
Add controls for the settings of the customizer for the blogs 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/blogs/functions.php
function bp_nouveau_blogs_customizer_controls( $controls = array() ) { return array_merge( $controls, array( 'blogs_layout' => array( 'label' => __( 'Sites loop:', 'buddyboss' ), 'section' => 'bp_nouveau_loops_layout', 'settings' => 'bp_nouveau_appearance[blogs_layout]', 'type' => 'select', 'choices' => bp_nouveau_customizer_grid_choices(), ), // 'sites_dir_layout' => array( // 'label' => __( 'Use column navigation for the Sites directory.', 'buddyboss' ), // 'section' => 'bp_nouveau_dir_layout', // 'settings' => 'bp_nouveau_appearance[sites_dir_layout]', // 'type' => 'checkbox', // ), // 'sites_dir_tabs' => array( // 'label' => __( 'Use tab styling for Sites directory navigation.', 'buddyboss' ), // 'section' => 'bp_nouveau_dir_layout', // 'settings' => 'bp_nouveau_appearance[sites_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.