Skip to content

Instantly share code, notes, and snippets.

@karlpotter
Last active December 27, 2022 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlpotter/c1528fa4555c781a46300fe36c6818ec to your computer and use it in GitHub Desktop.
Save karlpotter/c1528fa4555c781a46300fe36c6818ec to your computer and use it in GitHub Desktop.
<?php
/**
* Modify the base folder where generated documents are stored.
*
* @param string $base_path The base documents folder. Defaults to wp-content/uploads/gravity_forms/fillablepdfs.
*/
add_filter( 'fg_legalsigning_base_path', function( $base_path ) {
return '/path/to/pdfs/folder';
}, 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment