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()


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.