Jump To Section
By default, the PDF working directory is found in your
http://example.com/wp-content/uploads/PDF_EXTENDED_TEMPLATES folder. This filter allows you to change that location.
The working directory MUST be accessible via a URL and MUST be used in conjunction with the
gfpdf_template_location filter. Both the
gfpdf_template_location_uri filters should point to the same directory – one is the path and one is the URL.
Note: your web server needs write access to the folder you move the working directory to.
$url | string : The URL to your PDF working directory
$working_folder | string
: The working directory folder name. By default this is
$upload_url | string : The URL to your uploads directory (where the PDF working directory is stored by default).
The following snippet shows you how you can move the PDF working directory to your
wp-content directory (instead of its original location in your uploads folder):
This filter is located in the
Model_Install::setup_template_location() method of