bp_media_allowed_upload_document_size()
Allowed upload file size for the document.
Description
Return
(int) Allowed upload file size for the document.
Source
File: bp-media/bp-media-settings.php
function bp_media_allowed_upload_document_size() { $max_size = bp_core_upload_max_size(); $default = bp_document_format_size_units( $max_size, false, 'MB' ); return (int) apply_filters( 'bp_media_allowed_upload_document_size', (int) get_option( 'bp_document_allowed_size', $default ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.8 | 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.