bp_media_get_settings_sections()

Get the Media settings sections.

Description

Return

(array)

Source

File: bp-media/bp-media-settings.php

function bp_media_get_settings_sections() {

	$settings = array(
		'bp_media_settings_photos' => array(
			'page'  => 'media',
			'title' => __( 'Photo Uploading', 'buddyboss' ),
		),
        'bp_media_settings_emoji' => array(
			'page'  => 'media',
			'title' => __( 'Emoji', 'buddyboss' ),
		),
		'bp_media_settings_gifs' => array(
			'page'  => 'media',
			'title' => __( 'Animated GIFs', 'buddyboss' ),
		),
	);

	return (array) apply_filters( 'bp_media_get_settings_sections', $settings );
}

Changelog

Changelog
Version Description
BuddyBoss 1.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.