gpls_limit_message
Description
Filter the message that shows if the submission limit for a form has been reached.
Usage
Filter submission limit message for all forms.
add_filter( 'gpls_limit_message', 'my_custom_function' );
Filter submission limit message for a given form.
add_filter( 'gpls_limit_message_FORMID', 'my_custom_function' );
Parameters
message boolean
The “submission limit has been reached” error message
form array
The current GF form array
gpls_enforce_instance GPLS_Enforce
The GPLS_Enforce instance.
Examples
Change the “Submission Limit” reached message for a specific form
1
2
3
4
5
6
7
8
9
<?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 );
Since
This filter is available since GP Limit Submissions 1.0-beta-2.7.
All Connections
All Perks
- GF Address Autocomplete
- GF Advanced Calculations
- GF Advanced Phone Field
- GF Advanced Save & Continue
- GF Advanced Select
- GF Auto List Field
- GF Auto Login
- GF Better User Activation
- GF Blocklist
- GF Bookings
- GF Conditional Logic Dates
- GF Conditional Pricing
- GF Copy Cat
- GF Date Time Calculator
- GF Disable Entry Creation
- GF Easy Passthrough
- GF eCommerce Fields
- GF Email Users
- GF Email Validator
- GF Entry Blocks
- GF Expand Textareas
- GF File Renamer
- GF File Upload Pro
- GF Inventory
- GF Limit Checkboxes
- GF Limit Dates
- GF Limit Submissions
- GF Live Preview
- GF Media Library
- GF Multi-Page Navigation
- GF Nested Forms
- GF Notification Scheduler
- GF Page Transitions
- GF Pay Per Word
- GF Populate Anything
- GF Post Content Merge Tags
- GF Preview Submission
- GF Price Range
- GF QR Code
- GF Randomizer
- GF Read Only
- GF Reload Form
- GF Submit to Access
- GF Terms Of Service
- GF Unique ID
- GF Word Count