After Gravity PDF is installed, it automatically creates a folder called PDF_EXTENDED_TEMPLATES in WordPress upload directory. This folder is used to store temporary files, fonts and custom PDF templates. Any PHP files in the root of this folder will be classified as a PDF template and the system will automatically register it. When running the Setup Custom Templates tool function from Forms -> Settings -> PDF -> Tools in admin area will automatically copy all the core templates to the PDF_EXTENDED_TEMPLATES directory so can easily begin templating. It is recommend to copy and rename one of the core templates in PDF_EXTENDED_TEMPLATES to use as a starting point for the custom template. To correctly handle multi site installations, the plugin creates a directory in PDF_EXTENDED_TEMPLATES for each active sub-site.
Gravity PDF template system is modelled on the Theme hierarchy. The plugin’s core templates are like the parent theme, while the PDF_EXTENDED_TEMPLATES directory acts like a child theme. All core template can be overridden by placing a file with the same name in PDF_EXTENDED_TEMPLATES;
In template structure, header must include template name, description, version, group etc. Optional headers include author, author URI, license, Tags etc;
Variable options are $form, $entry, $form_data, $settings and $fields;
Please ping me to have further discussion regarding this project; Looking to have a prompt and affirmative response by your end;