gfpdf_multisite_template_location_uri_<blog_id>

The Gravity PDF gfpdf multisite template location uri blog id hook.

Description

apply_filters( 'gfpdf_multisite_template_location_uri_<blog_id>', (unknown) $this_data_multisite_template_location_url, (unknown) $working_folder, (unknown) $upload_dir_url, (unknown) $blog_id ); 

Parameters (4)

0. $this_data_multisite_template_location_url (unknown)
The this data multisite template location url.
1. $working_folder (unknown)
The working folder.
2. $upload_dir_url (unknown)
The upload dir url.
3. $blog_id (unknown)
The blog id.

Usage

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

Defined (1)

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

/src/model/Model_Install.php  
  1. $this->data->multisite_template_location_url = apply_filters( 'gfpdf_multisite_template_location_uri_' . $blog_id, $this->data->multisite_template_location_url, $working_folder, $upload_dir_url, $blog_id );