Keep up to date with Gravity PDF

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

Before You Begin #before-you-begin

This section of the documentation is primarily written for developers. Assumed knowledge of WordPress basics, like action and filter hooks, with a solid PHP foundation and HTML / CSS is expected. If that last sentence just went over your head get in touch with our friendly team and we can discuss a solution tailored for you.

Overview #overview

We’ve attempted to make Gravity PDF as developer-friendly as possible. That means there are actions and filters placed all through the software, so you can tweak the functionality as you see fit. You can also control the exact look and feel of the generated PDFs using custom PDF templates, which are created using HTML/CSS and a bit of PHP knowledge.

Custom Templates #custom-templates

Sample of a custom PDF template

The majority of our developer documentation will be targeted at creating custom PDF templates. You’ll learn how to:

Find out more about creating your own custom PDF templates.

Supported PDF Features #supported-pdf-features

Sample of a PDF showing off the HTML support

Along with learning the ins and outs to create a template and configuration file, we’ll go into detail about the common features you can use when laying out your PDF using HTML/CSS.

We’ll cover:

For those developers looking for in-depth knowledge about the PDF software that powers Gravity PDF, head over to the mPDF documentation.

Actions / Filters #actions-filters

Sample of a filter available

We’ve worked hard to document as many of the filters and actions available in Gravity PDF. This includes changing the output of particular Gravity Form fields to controlling the PDF security (we call it middleware). All filters documentation is located under the Filter Hooks category in the sidebar, while actions are found under Action Hooks.

If you want to request a new filter or action be added please open a new ticket on GitHub.

Signup for the latest Gravity PDF news, tips and updates

  • This field is for validation purposes and should be left unchanged.
Gravity PDF 40K Active Installs Celebration! Take 20% off any products with coupon 40KMILESTONE (this week only)Visit Store
+ +
Scroll To Top

Choose your currency:

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 (¥)