Description
The wsf_submit_post_complete action runs when a form has been successfully posted.
Usage
add_action( 'wsf_submit_post_complete', 'my_hook_function', 10, 1 );
Parameters
$submit
Submit ObjectThe submit object.
Example
// Callback function for the wsf_submit_post_complete action hook function my_hook_function( $submit ) { // Your code here ... } // Add a callback function for the wsf_submit_post_complete action hook add_action( 'wsf_submit_post_complete', 'my_hook_function', 10, 1 );
Source File
This hook can be found in:<plugin root>/api/class-ws-form-api-submit