bookmark_bordergform_delete_entries

Description

Triggered when entries are deleted.

Usage

add_action( 'gform_delete_entries', 'my_function', 10, 2 );

Parameters

  • $form_id

    The ID of the form that an entry is being deleted from.

  • $status

    The status of the deleted entry.

Examples

function my_function($form_id, $status) {
    echo 'Entry with status' . $status . 'is being deleted from form ' . $form_id;
}
add_action( 'gform_delete_entries', 'my_function', 10, 2 );

Source Code

This action hook is located in forms_model.php