fluentform_after_entry_deleted

Description #

This action runs after deleting a entry.

/*
* Source Action
*/
do_action('fluentform_after_entry_deleted', $entryId, $formId);

Usage #

add_action('fluentform_after_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

Powered by BetterDocs

2 Comments

  1. I have written a plugin to control LearnDash progress with Fluent Forms but this hook does not appear to be firing.

    /*
    function dvp_fluentform_after_entry_deleted ( $entryId, $formId) {
    // Do your stuffs here
    $user_id = get_current_user_id();
    update_user_meta( $user_id, ‘dvp_ff_submitted_’ . $formId, ” );
    $yo = ‘yo’;

    }

    add_action( ‘fluentform_after_entry_deleted’, ‘dvp_fluentform_after_entry_deleted’, 10, 2 );*/

    add_action(‘fluentform_after_entry_deleted’, function ( $entryId, $formId)
    {
    // Do your stuffs here
    $a = ‘yo’;
    }, 10, 2);

Leave a Reply

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