|
/ Documentation /Developer Documentation/Action Hooks/ srfm_partial_resume_redeemed

srfm_partial_resume_redeemed

Description

Fires when a saved (partial) form draft is resumed by a visitor. Useful for analytics or audit logging of resume events. (Pro only)

Parameters

  • $session_id (string) – The partial-entry session identifier.
  • $form_id (int) – The form ID.
  • $used_token (bool) – Whether a resume token was supplied.
  • $client_ip (string) – The client’s IP address.

Hook Source

PHP
/**
* hook source
 */
do_action( 'srfm_partial_resume_redeemed', $session_id, $form_id, $used_token, $client_ip );

Hook Usage

PHP
add_action( 'srfm_partial_resume_redeemed', 'my_callback', 10, 4 ); function my_callback( $session_id, $form_id, $used_token, $client_ip ) { 
// Log the resume event. 
}

Hook Example

PHP
add_action( 'srfm_partial_resume_redeemed', 'my_callback', 10, 4 ); function my_callback( $session_id, $form_id, $used_token, $client_ip ) { 
// Log the resume event. 
}
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top