Description
The “gform_zoho_accounts_api_url” filter allows the Zoho CRM accounts API URL to be changed. This is useful because, in addition to crm.zoho.com, Zoho CRM has a European solution that points to crm.zoho.eu.
Usage
add_filter( 'gform_zoho_accounts_api_url', 'your_function_name', 10, 1 );
Parameters
- $accounts_api_url string
Zoho CRM accounts API URL.
Examples
add_filter( 'gform_zoho_accounts_api_url', 'change_zoho_accounts_api_url', 10, 1 ); function change_zoho_accounts_api_url( $accounts_api_url ){ return "https://accounts.zoho.eu"; }
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 GFZohoCRM::get_accounts_api_url() in gravityformszohocrm/class-gf-zohocrm.php.