wsf_activate

Description

The wsf_activate action is run whenever WS Form is activated.

Usage

add_action( wsf_activate, 'my_hook_function', 10, 0 );

Example

// Add a callback function to for the wsf_activate action hook
add_action( wsf_activate, 'my_hook_function', 10, 0 );

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

Source File

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