fluentform_entry_statuses_core

Description  #

This filter returns entry statuses. You can modify or add more entry statues 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 #

  • $form (Object) The $form Object
  • $statuses (array) Entry Statuses

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in app/Helpers/Helper.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *