bp_nouveau_blogs_customizer_settings( array $settings = array() )

Add settings to the customizer for the blogs component.

Description

Parameters

$settings

(Optional) the settings to add.

Default value: array()

Return

(array) the settings to add.

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',
		),
	) );
}

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.