Created
December 14, 2020 08:03
-
-
Save alex-authlab/08c0491a9e886ac87ae6015ade7db679 to your computer and use it in GitHub Desktop.
Custom Entry Status For Fluent Forms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| 1. Add this in theme function.php or any PHP snippet plugin | |
| 2. Add your own status in the array | |
| */ | |
| add_filter('fluentform_entry_statuses',function($data){ | |
| $new_stat = [ | |
| 'checking'=> 'Checking', | |
| 'complete'=>'Completed' | |
| ]; | |
| return array_merge($data,$new_stat); | |
| },10,1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment