apply_filters( 'bp_attachments_get_allowed_types', array $exts, string $type )

Filter here to edit the allowed extensions by attachment type.

Parameters Parameters


(array) List of allowed extensions.


(string) The requested file type.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.