before_rtmedia_comment_uploader_display

The rtMedia for WordPress, BuddyPress and bbPress before rtmedia comment uploader display hook.

Description

apply_filters( 'before_rtmedia_comment_uploader_display', (unknown) $flag ); 

Parameters (1)

0. $flag (unknown)
The flag.

Usage

To run the hook, copy the example below.
  1. $flag = apply_filters( 'before_rtmedia_comment_uploader_display', $flag ); 
  2.  
  3. if ( !empty( $flag ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the before_rtmedia_comment_uploader_display callback 
  2. function filter_before_rtmedia_comment_uploader_display( $flag ) { 
  3. // make filter magic happen here... 
  4. return $flag
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'before_rtmedia_comment_uploader_display', 'filter_before_rtmedia_comment_uploader_display', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'before_rtmedia_comment_uploader_display', 'filter_before_rtmedia_comment_uploader_display', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/app/main/controllers/media/RTMediaComment.php  
  1. $flag = apply_filters( 'before_rtmedia_comment_uploader_display', $flag );