wsf_submit_update

Description

The wsf_submit_update action runs whenever a submission record is updated.

Usage

add_action( 'wsf_submit_update', 'my_hook_function', 10, 1 );

Parameters

  1. $submit Submit Object
    The submit object.

Example

// Callback function for the wsf_submit_update action hook
function my_hook_function( $submit ) {
	
	// Your code here ...
}

// Add a callback function for the wsf_submit_update action hook
add_action( 'wsf_submit_update', 'my_hook_function', 10, 1 );

Source File

This hook can be found in: <plugin root>/includes/core/class-ws-form-submit.php