prso_gform_pluploader_attachment_post_title

The Gravity Forms Advanced File Uploader prso gform pluploader attachment post title hook.

Description

apply_filters( 'prso_gform_pluploader_attachment_post_title', (unknown) $post_title, (unknown) $entry ); 

Parameters (2)

0. $post_title (unknown)
The post title.
1. $entry (unknown)
The entry.

Usage

To run the hook, copy the example below.
  1. $post_title = apply_filters( 'prso_gform_pluploader_attachment_post_title', $post_title, $entry ); 
  2.  
  3. if ( !empty( $post_title ) ) { 
  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_attachment_post_title callback 
  2. function filter_prso_gform_pluploader_attachment_post_title( $post_title, $entry ) { 
  3. // make filter magic happen here... 
  4. return $post_title
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'prso_gform_pluploader_attachment_post_title', 'filter_prso_gform_pluploader_attachment_post_title', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'prso_gform_pluploader_attachment_post_title', 'filter_prso_gform_pluploader_attachment_post_title', 10, 2 ); 

Defined (1)

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

/class.core.init-uploader.php  
  1. $post_title = apply_filters( 'prso_gform_pluploader_attachment_post_title', $post_title, $entry );