apply_filters( 'bp_attachments_get_max_upload_file_size', int $fileupload_maxk, string $type )

Filter here to edit the max upload file size.

Description

Parameters

$fileupload_maxk

Max upload file size for any attachment.

$type

The attachment type (eg: 'avatar' or 'cover_image').

Source

File: bp-core/bp-core-attachments.php

Changelog

Changelog
Version Description
BuddyPress 2.4.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.