🔥 Gravity PDF v4 end of life was 2019-10-04 and this version is no longer supported. This legacy documentation is kept for reference only.
Gravity PDF API – product_table()
Jump To Section
This method will output (or return) a correctly formatted Gravity Forms product table for use in your PDF.
This method was introduced in Gravity PDF 4.0.
$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.
string | void
: Returns the HTML string when
$return is true
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 );
This method is located in