tripetto_pause hook
📖 Description​
This hook is invoked whenever a form is paused. In most cases, you can include this hook in the functions.php file of your WordPress theme using the add_action WordPress function.
Syntax​
add_action("tripetto_pause", function($data) {
// Do stuff with the data here
});
Parameters​
| Name | Type | Optional | Description |
|---|---|---|---|
$data | object | No | PHP JSON object with information about the paused form. Contains the following fields: - id: Contains the id of the paused form session;- form: Contains the database id of the paused form;- reference: Contains the reference of the snapshot that holds the form session;- url: Contains the URL to restore/continue the paused form session;- emailAddress: Contains the email address of the user that paused the form. |