Support » Plugin: Gravity Forms Salesforce Add-on » how to use proxy settings

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Zack Katz


    Support for this is coming in version 2.4 with the filter gf_salesforce_proxy.



    Hi Zack, thanks for the update. I’m now trying to add the gf_salesforce_proxy filter to our functions.php, but this is not working.

    The documentation on this filter is not very extensive, so maybe I’m doing something wrong, but I can’t figure out what. Can you please elaborate on how to use this specific filter?

    the code in our themes funcions.php looks something like this:

    add_filter('gf_salesforce_proxy ', 'set_proxy');
    function set_proxy(){
    	require_once <path to ProxySettings.php>;
    	$proxy = new ProxySettings();
    	$proxy->host = 'our.proxy.address';
    	$proxy->port = <port integer>;
    	$proxy->login = '';
    	$proxy->password = '';
    	return $proxy;
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to use proxy settings’ is closed to new replies.