bp_media_allowed_upload_media_size()

Allowed upload file size for the media.

Description

Return

(int) Allowed upload file size for the media.

Source

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

function bp_media_allowed_upload_media_size() {

	$max_size = bp_core_upload_max_size();
	$default  =  bp_media_format_size_units( $max_size, false, 'MB' );
	return (int) apply_filters( 'bp_media_allowed_upload_media_size', (int) get_option( 'bp_media_allowed_size', $default ) );
}

Changelog

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.