bp_media_get_settings_sections()

Get the Media settings sections.

Description

Return

(array)

Source

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

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.