Description
Allows the API URL to be changed.
Usage
add_filter( 'gform_zoho_api_url', 'your_function_name', 10, 1 );
Parameters
- $api_url string
Zoho CRM API URL.
Defaults to accounts.zoho.com
Examples
Update the URL to use the EU domain.
add_filter( 'gform_zoho_api_url', 'change_zoho_api_url', 10, 1 );
function change_zoho_api_url( $api_url ){
return 'https://www.zohoapis.eu/crm/';
}
Refer to this article for more information about available domains.
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Zoho CRM version 1.2.5.
Source Code
This filter is located in GF_ZohoCRM_API::__construct() in gravityformszohocrm/class-gf-zohocrm-api.php.