Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.
This is the documentation for version 4 of Gravity PDF. See version 3 docs here.

Jump To Section

Description #description

This method will output (or return) a correctly formatted Gravity Forms product table for use in your PDF.

Version #version

This method was introduced in Gravity PDF 4.0.

Parameters #parameters

$entry | array
The raw Gravity PDF Entry
$return | boolean | optional
Set to true to have the product table HTML returned. By default this is false and will automatically be echoed.

Return #return

string | void
Returns the HTML string when $return is true

Usage #usage

The following snippet shows you how to output the product table from your Gravity PDF template:

/* The raw $entry array is available to all Gravity PDF templates automatically */
GPDFAPI::product_table( $entry );

Source Code #source-code

This method is located in api.php.

Signup for the latest Gravity PDF news, tips and updates

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