prso_gform_pluploader_container

The Gravity Forms Advanced File Uploader prso gform pluploader container hook.

Description

apply_filters( 'prso_gform_pluploader_container', (unknown) $plupload_container, (unknown) $field, (unknown) $form_id ); 

Parameters (3)

0. $plupload_container (unknown)
The plupload container.
1. $field (unknown)
The field.
2. $form_id (unknown)
The form id.

Usage

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

Defined (1)

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

/class.core.init-uploader.php  
  1. $input.= apply_filters( 'prso_gform_pluploader_container', $plupload_container, $field, $form_id );