rtmedia_enable_activity_media_upload

Description

Enable or disable media upload on BuddyPress activity.

To use this filter, Allow upload from activity stream should be Enabled from rtMedia Settings.

Example

/**
* Disable Media Upload on BuddyPress activity.
*/
add_filter( 'rtmedia_enable_activity_media_upload', '__return_false' );