Change the “Submission Limit” Reached Message For a Specific Form

Code

Filename: gpls-change-submission-limit-reached-message-for-form.php

<?php
/**
 * Gravity Perks // Limit Submissions // Change the "Submission Limit" Reached Message For a Specific Form
 * https://gravitywiz.com/documentation/gravity-forms-limit-submissions/
 */
// Update "123" to the form ID.
add_filter( 'gpls_limit_message_123', function( $message, $form, $gpls_enforce_instance ) {
	return 'No more submissions are accepted at this time.';
}, 10, 3 );

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.