Action: gform_post_note_added
Fires after a note has been added to an entry
Parameters
| Name | Type | Description |
|---|---|---|
| $wpdb | int | ->insert_id The row ID of this note in the database |
| $entry_id | int | The ID of the entry that the note was added to |
| $user_id | int | The ID of the current user adding the note |
| $user_name | string | The user name of the current user |
| $note | string | The content of the note being added |
| $note_type | string | The type of note being added. Defaults to 'note' |
| $sub_type | string | The sub-type of note being added. |
Since
- 2.4.13: Added sub_type parameter.
- Unknown: Unknown
Source
- Defined in
forms_model.phpat line 2807 - Defined in
includes/legacy/forms_model_legacy.phpat line 2569