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.
PDF Template Hierarchy and Loading Order
We touched on the template hierarchy when you created your first custom PDF template, but it's a little more involved – especially for Multisite installations. It's also not just limited to PDF templates; you can override the core configuration and image preview files as well.
Standard WordPress Installation
On a standard WordPress installation, the template hierarchy is straightforward. Files in the PDF Working Directory override templates that ship with the plugin – provided they have the same name. When you prepare your website for custom PDF templates all the plugin's template files are copied over to your PDF working directory so you can override the settings if you wish. It's straightforward and easy.
Multisite WordPress Installation
To allow more flexibility with PDF templates, Multisite installations add another layer to the template hierarchy. Each site in a Multisite installation gets its own PDF Working Directory, so different sites can have their own templates that won't be included for other subsites. If installing a template via the PDF Template Manager, it'll be saved in the subsite directory and not directly in the Working Directory.
Individual site templates override any global templates in the
PDF_EXTENDED_TEMPLATES directory (which apply to all Multisite installations), which in turn override the Core Gravity PDF templates (like in a standard WordPress installation).