Skip to content

Instantly share code, notes, and snippets.

@alex-authlab
Created December 14, 2020 08:03
Show Gist options
  • Select an option

  • Save alex-authlab/08c0491a9e886ac87ae6015ade7db679 to your computer and use it in GitHub Desktop.

Select an option

Save alex-authlab/08c0491a9e886ac87ae6015ade7db679 to your computer and use it in GitHub Desktop.
Custom Entry Status For Fluent Forms
<?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