Contents
Description
The wsf_form_checksum_check filter hook determines whether the checksum is checked when a form is imported. By setting it to false you import form JSON files that were not created by WS Form when exporting a form.
Usage
add_filter( 'wsf_form_checksum_check', 'my_hook_function', 10, 1 );
Parameters
$checksum_check
BooleanSet to false to bypass checksum checks when importing a form.Default value:true
Example
// Callback function for the wsf_form_checksum_check filter hook function my_hook_function( $checksum_check ) { // Your code here ... // Return value return $checksum_check; } // Add a callback function for the wsf_form_checksum_check filter hook add_filter( 'wsf_form_checksum_check', 'my_hook_function', 10, 1 );