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.


Top ↑

Parameters Parameters

$value

(array)

$bp_params

(array)

$needs_reset

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

$object_data

(array)


Source Source

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

View on Trac



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.