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
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | 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.