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 image uploading.


Description Description

If you want to override this function, make sure you return an array with the ‘result’ key set.


Parameters Parameters

$value

$bp_params

$needs_reset

Stores original value of certain globals we need to revert to later.

$object_data


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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