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

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

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

Source File

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