Customize Resume Message

Customize the message that appears at the top of the form when resuming a draft.

Code

Filename: gpasc-customize-resume-message.php

<?php
/**
 * Gravity Perks // Advanced Save & Continue // Customize Resume Message
 * https://gravitywiz.com/documentation/gravity-forms-advanced-save-continue/
 *
 * Customize the message that appears at the top of the form when resuming a draft.
 */
add_filter( 'gpasc_resume_notice_message', function( $message, $form, $display_name, $draft_data ) {
	$message = sprintf( 'Resuming application from %s', $display_name );
	return $message;
}, 10, 4 );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.