Description #
This action runs before deleting an entry.
/*
* Source Action
*/
do_action('fluentform/before_deleting_entries', $entryId, $formId);
Usage #
add_action('fluentform/before_deleting_entries', 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) Submission ID
- $formId (int) Form ID
Source Code #
This hook is located in fluentform/app/Services/Submission/SubmissionServices -> deleteEntries($submissionIds, $formId)