wsf_api_call_verify_ssl

Description

The wsf_api_call_verify_ssl filter allows you to modify the whether SSL is verified when making any external API requests. This setting applies to the Webhook action as well as integration integrations.

Usage

add_filter( 'wsf_api_call_verify_ssl', 'my_hook_function', 10, 1 );

Parameters

  1. $ssl_verify Boolean
    Default value: true

Example

// Callback function for the wsf_api_call_verify_ssl filter hook
function my_hook_function( $ssl_verify ) {
	
	// Your code here ...

	// Return value
	return $ssl_verify;
}

// Add a callback function for the wsf_api_call_verify_ssl filter hook
add_filter( 'wsf_api_call_verify_ssl', 'my_hook_function', 10, 1 );

Source File

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