Fires when a new submission object has just been instantiated.
Description
This hook may be used to set additional unique data on a submission.
Parameters
- $submission
-
(awsmug\Torro_Forms\DB_Objects\Submissions\Submission) (Optional) Submission object.
- $form
-
(awsmug\Torro_Forms\DB_Objects\Forms\Form) (Optional) Form object.
- $data
-
(array) (Optional) Submission POST data.
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |