Description #
This filter returns entry statuses. You can modify or add more entry statuses using this filter.
apply_filters('fluentform/entry_statuses_core', $statuses , $form_id);
Usage #
add_filter('fluentform/entry_statuses_core', function($statuses, $form_id){
$statuses = [
'unread' => 'Unread',
'read' => 'Read'
];
return $statuses;
}, 10, 2);
Parameters #
- $statuses (array) Entry Statuses
- $form_id (int) Form ID
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Helpers\Helper -> getEntryStatuses($form_id = false)