Version: 5
CAUTION
️Version 5 of Gravity PDF does not have full support for Gravity Forms 2.5 and you should consider upgrading to version 6. If you cannot, version 5 will still function but have a degraded admin experience. Support and bug/security fixes will be provided until 27 April 2023.gfpdf_working_folder_name
Description
By default, the PDF working directory is called PDF_EXTENDED_TEMPLATES
. Using this filter you can easily change the name.
Parameters
$folder | array
- The folder name of the PDF working directory
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
This filter is located in the Model_Install::get_working_directory()
method of /src/model/Model_Install.php
.