gform_pre_note_deleted

Description

The “gform_pre_note_deleted” action in Gravity Forms is triggered before a note is deleted, allowing further actions to be performed.

Usage

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

Parameters

  • $note_id int

    The ID of the note being deleted.

  • $entry_id int

    The ID entry that the note is being deleted from.

Examples

function my_function() {
    //Do something here
}
add_action( 'gform_pre_note_deleted', 'my_function', 10, 2 );

Source Code

This action hook is located in forms_model.php.