Legalsigning – Signer Notifications Management

Reponse as at March 27 10, 2023

The following would be a basic example of how to send off a separate manual email notification whenever an additional signer is updated to the final submitted status, aka the status they’re set to when they’ve finished signing:

add_action( 'fg_legalsigning_post_signer_status_update', 'check_signer_status', 10, 2 );
function check_signer_status( $signer, $status ) {

    // Check if a signer has been updated to the submitted status, aka they have finished signing
    if ( $status == 'submitted') {

        wp_mail( '', 'Testing Filter', 'Signer has finished signing' );