bookmark_bordergform_post_note_added

Description

Triggered after a note is added to an entry.

Usage

add_action( 'gform_post_note_added', 'my_function', 10, 6 );

Parameters

  • $insert_id int
    The ID generated from the auto incremented column within the database. See $wpdb->insert.

  • $entry_id int
    The ID of the entry that the note is being added to.

  • $user_id int
    The user that is adding the note.

  • $user_name string
    The name of the user that created the note.

  • $note string
    The content of the note being added.

  • $note_type string
    The type associated with the note.

Examples

function my_function() {
    //Do something here
}
add_action( 'gform_post_note_added', 'my_function', 10, 6 );

Source Code

This action hook is located in forms_model.php