gform_zoho_api_url

Description

The “gform_zoho_api_url” filter allows the 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_api_url', 'your_function_name', 10, 1 );

Parameters

  • $api_url string

    Zoho CRM API URL.

Examples

add_filter( 'gform_zoho_api_url', 'change_zoho_api_url', 10, 1 );
function change_zoho_api_url( $api_url ){
    return "https://crm.zoho.eu/crm/private/";
}

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.