Jump To Section
This method was introduced in Gravity PDF 4.0.
$key | string : The global PDF setting ID. Best to prefix this value to prevent conflict.
$value | mixed : What ever value you want to store
boolean | WP_Error
: True on success, false if database failed to update and
WP_Error if the
$key already exists.
The following snippet shows you how to add a new PDF global option and correctly handle any errors:
This method is located in