Description #
This filter returns the input labels for the payment form on the entries page.
apply_filters('fluentform/all_entry_labels_with_payment', $entries['formLabels'], false, $form);
Usage #
add_filter('fluentform/all_entry_labels_with_payment', function($formLabels , $formId) {
return $formLabels;
}, 10, 2);
Parameters #
- $formLabels (array) Form Labels
- $formID (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\Services\Form\FormService -> getInputsAndLabels($formId, $with = [‘admin_label’, ‘raw’])