Table of Contents
Description #
This action runs before deleting an entry.
/*
* Source Action
*/
do_action('fluentform_before_entry_deleted', $entryId, $formId);
Usage #
add_action('fluentform_before_entry_deleted', function ( $entryId, $formId)
{
// Do your stuffs here
}, 10, 2);
This code should be placed in the functions.php file of your active theme.
Parameters #
- $entryId (int) Entry ID
- $formId (int) Form ID
Source Code #
This hook is located in /fluentform/app/Modules/Entries/Entries.php