Skip to content

Instantly share code, notes, and snippets.

@karlpotter
Created March 17, 2022 20:55
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/6c4b871f52f31f2f58c8023d40f9e67c to your computer and use it in GitHub Desktop.
Save karlpotter/6c4b871f52f31f2f58c8023d40f9e67c to your computer and use it in GitHub Desktop.
add_filter( 'fg_legalsigning_form_path', function( $form_path, $form_id ) {
if ( $form_id === 103 ) {
// Run code for Form #103
return 'wp-content/uploads/gravity_forms/legalsigning/mycustom103';
}
return $form_path;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment