bp_document_get_settings_sections()
Get the Document settings sections.
Description
Return
(array)
Source
File: bp-media/bp-media-settings.php
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 | function bp_document_get_settings_sections() { return ( array ) apply_filters( 'bp_document_get_settings_sections' , array ( 'bp_document_settings_extensions' => array ( 'page' => 'document' , 'title' => sprintf( '<a href="%1$s" rel="nofollow">%2$s</a> %3$s' , bp_get_admin_url( add_query_arg( array ( 'page' => 'bp-settings' , 'tab' => 'bp-media#bp_media_settings_documents' , ), 'admin.php' ) ), __( 'Documents' , 'buddyboss' ), __( '→ File Extensions' , 'buddyboss' ) ), 'callback' => 'bp_document_settings_callback_extension_section' , ), ) ); } |
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.