apply_filters( 'bp_attachments_pre_cover_image_ajax_upload', array $value , array $bp_params , array $needs_reset , array $object_data )
Filters whether or not to handle cover photo uploading.
Description
If you want to override this function, make sure you return an array with the ‘result’ key set.
Parameters
- $value
-
- $bp_params
-
- $needs_reset
-
Stores original value of certain globals we need to revert to later.
- $object_data
-
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.5.1 | 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.