bp_document_get_settings_fields()

Get all of the settings fields.

Description

Return

(array)

Source

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

1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
function bp_document_get_settings_fields() {
 
    $fields = array();
 
    /** Document Extensions Section */
    $fields['bp_document_settings_extensions'] = array(
 
        'bp_document_extensions_support' => array(
            'title'             => __( 'Extensions', 'buddyboss' ),
            'callback'          => 'bp_media_settings_callback_extension_document_support',
            'sanitize_callback' => 'array',
            'args'              => array(
                'class' => 'document-extensions-listing',
            ),
        ),
    );
 
    return (array) apply_filters( 'bp_document_get_settings_fields', $fields );
}

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.