bp_nouveau_blogs_customizer_settings( array $settings = array() )
Add settings to the customizer for the blogs component.
Parameters Parameters
- $settings
-
(array) (Optional) the settings to add.
Default value: array()
Return Return
(array) the settings to add.
Source Source
File: bp-templates/bp-nouveau/includes/blogs/functions.php
function bp_nouveau_blogs_customizer_settings( $settings = array() ) { return array_merge( $settings, array( 'bp_nouveau_appearance[blogs_layout]' => array( 'index' => 'blogs_layout', 'capability' => 'bp_moderate', 'sanitize_callback' => 'absint', 'transport' => 'refresh', 'type' => 'option', ), ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |