Sets additional data for a submission when it is created.
Description
Parameters
- $submission
-
(awsmug\Torro_Forms\Modules\Access_Controls\Submission) (Required) New submission object.
- $form
-
(awsmug\Torro_Forms\Modules\Access_Controls\Form) (Required) Form object the submission belongs to.
- $data
-
(array) (Required) Submission POST data.
Source
File: src/modules/access-controls/submission-modifier-access-control-interface.php
public function set_submission_data( $submission, $form, $data );
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |