Title: CurtisL's Replies | WordPress.org

---

# CurtisL

  [  ](https://wordpress.org/support/users/curtisl/)

 *   [Profile](https://wordpress.org/support/users/curtisl/)
 *   [Topics Started](https://wordpress.org/support/users/curtisl/topics/)
 *   [Replies Created](https://wordpress.org/support/users/curtisl/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/curtisl/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/curtisl/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/curtisl/engagements/)
 *   [Favorites](https://wordpress.org/support/users/curtisl/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gravity Forms Salesforce Add-on] SalesForce new endpoint with the Summer ‘17 release](https://wordpress.org/support/topic/salesforce-new-endpoint-with-the-summer-17-release/)
 *  [CurtisL](https://wordpress.org/support/users/curtisl/)
 * (@curtisl)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/salesforce-new-endpoint-with-the-summer-17-release/#post-8972184)
 * We too got notification of this needing to be updated for a client. I did find
   that the plugin exposes a filter that allows you to make this update yourself
   if you have access and are comfortable editing to your theme’s files. Should 
   work while waiting for a proper update.
 * Drop this in your active theme’s `functions.php`
 *     ```
       /**
        *----------------------------------------------------------------------
        * Updating the Web-to-Case and Web-to-Lead Endpoint URL
        *----------------------------------------------------------------------
        *
        * See: https://help.salesforce.com/articleView?eid=ss-tc&id=Updating-the-Web-to-Case-and-Web-to-Lead-Endpoint-URL&language=en_US&type=1
        * 
        * Websites using the W2C/W2L forms will cease to create new cases
        * and/or leads within customers’ Salesforce orgs if the websites are
        * not updated with the new endpoint URL by the Summer ‘17 release.
        *
        */
       function update_gf_salesforce_request_subdomain( $sub, $test ) {
           return $test ? $sub : 'webto';
       }
       add_filter( 'gf_salesforce_request_subdomain', 'update_gf_salesforce_request_subdomain', 10, 2 );
       ```
   
 * Current filter location in the plugin source:
    `gravity-forms-salesforce/inc/
   web-to-lead.php [line 711]`
    -  This reply was modified 9 years, 1 month ago by [CurtisL](https://wordpress.org/support/users/curtisl/).
      Reason: Noting of filter source code location

Viewing 1 replies (of 1 total)