fg_legalsigning_post_signer_status_update
Description
This action hook allows you to trigger custom code execution after a signer’s status has been updated.
Note: this hook won’t be triggered for the first signer, as the first signer is only created on the initial form submission, but is never updated beyond that in a way that would trigger this hook.
Usage
PHP
add_action( 'fg_legalsigning_post_signer_status_update', 'your_function_name', 10, 2 );
The statuses that can be used with the hook are as follows:
- notified – The signer has been notified that is their turn to sign.
- viewed – The signer has viewed the form from their signing URL, but have not yet completed signing.
- submitted – The signer has signed and submitted the form.
Parameters
- $signer Signer
The signer object - $status string
The signer status
Since
This hook was added in Legal Signing 3.0.