Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.
Just in time for Easter, this maintenance release focuses on better reliability and fixing a few bugs reported by users over the last month. Most of the changes are behind the scenes, but at the request of multiple users we’ve added the gfpdfe_signature_width filter to modify the Gravity Form Signature image in the default PDF templates. If you want to take advantage of this new functionality just drop the following code in your theme’s function.php file and modify accordingly.

/**
 * Change the signature image size in the default templates
 * @var Integer $pdf_width The optimal signature image width in pixels
 * @var Integer $original_width The original image size in pixels
 * @return Integer The modified image width
 */
function gfpdfe_change_signature_width($pdf_width, $original_width) {
	/* increase the image size by 50px */
	return $pdf_width + 50;
}

add_filter('gfpdfe_signature_width', 'gfpdfe_change_signature_width', 10, 2);

If you already have the software installed you’ll be prompted to upgraded in the next 24 hours. Otherwise you can download it directly from the WordPress repository. As a precautionary measure make sure you take a full backup BEFORE upgrading.

Changelog

  • Housekeeping – Allow control over signature width in default template using the ‘gfpdfe_signature_width’ filter
  • Housekeeping – Add better error checking when migrating PDF template folder
  • Housekeeping – Add unit testing to the directory migration function
  • Bug – Fixed backwards-compatiiblity PHP error when viewing custom PDF templates on Gravity Forms 1.8.3 or below.
  • Bug – Ensure checkbox field names are included in the $form_data array

Enjoy the holidays!

Published by Jake Jackson

Jake Jackson is the head developer at Gravity PDF. Along with developing the plugin, he uses his expertise to provide support and technical information to Gravity PDF users.

Signup for the latest Gravity PDF news, tips and updates

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

Choose your currency:

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