Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.
This is the legacy Gravity PDF v4 documentation which is NOT supported. Go to the latest documentation.
Jump To Section

Description #description

By default, the PDF working directory is called PDF_EXTENDED_TEMPLATES. Using this filter you can easily change the name.

Parameters #parameters

$folder | array
The folder name of the PDF working directory

Usage #usage

This snippet shows how to change the PDF working directory name:

add_action( 'gfpdf_working_folder_name', function( $folder ) {
    return 'PDF_Templates';
} );

Source Code #source-code

This filter is located in the Model_Install::get_working_directory() method of /src/model/Model_Install.php.

Signup for the latest Gravity PDF news, tips and updates

  • This field is for validation purposes and should be left unchanged.
Scroll To Top

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in $ Australian Dollars ($) AUD.
  • AUDAustralian Dollars ($)
  • USDUS Dollars ($)
  • CADCanadian Dollars ($)
  • EUREuros (€)
  • GBPPound Sterling (£)
  • NZDNew Zealand Dollar ($)
  • JPYJapanese Yen (¥)