Title: Infusionsoft Code in Plugin
Last modified: April 7, 2020

---

# Infusionsoft Code in Plugin

 *  Resolved [kkow](https://wordpress.org/support/users/kkow/)
 * (@kkow)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/)
 * Hi, I was looking into possibly using your plugin and wanted to take a look at
   the code to ensure a solid codebase before installing. I noticed a section of
   code in the api.php file for sending data to infusionsoft? Why is this necessary
   and what data is being collected here?
 * From the file:
    /** * Get Infusionsoft Client Information * [@param](https://wordpress.org/support/users/param/)
   array $info (optional) Infusionsoft Client Information Saved in Database * [@return](https://wordpress.org/support/users/return/)
   array Infusionsoft Client Information
 * Thank you!
    -  This topic was modified 6 years, 1 month ago by [kkow](https://wordpress.org/support/users/kkow/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [CRM Perks](https://wordpress.org/support/users/crmperks/)
 * (@crmperks)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641298)
 * it is a comment , not code , please ignore it
 *  Thread Starter [kkow](https://wordpress.org/support/users/kkow/)
 * (@kkow)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641320)
 * but there is code under the comment that corresponds to it
 *  Plugin Author [CRM Perks](https://wordpress.org/support/users/crmperks/)
 * (@crmperks)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641332)
 * You can remove that comment but not code
 *  Thread Starter [kkow](https://wordpress.org/support/users/kkow/)
 * (@kkow)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641355)
 * sorry perhaps I was not being clear, what is the purpose of this code? It appears
   to be sending/posting data
 * public function client_info(){
    $info=$this->info; $client_id=’d806eeec-5890-
   43b3-b380-c8ad701c42e5′; $client_id=”; $client_secret=’dnJSXk9qFqu9ARIPb7cKqw’;
   $call_back=”[https://www.crmperks.com/nimble_auth/&#8221](https://www.crmperks.com/nimble_auth/&#8221);;//
   custom app if(is_array($info)){ if( $this->post(‘app_id’,$info) !=”” && $this-
   >post(‘app_secret’,$info) !=”” && $this->post(‘app_url’,$info) !=””){ $client_id
   =$this->post(‘app_id’,$info); $client_secret=$this->post(‘app_secret’,$info);
   $call_back=$this->post(‘app_url’,$info); } } return array(“client_id”=>$client_id,”
   client_secret”=>$client_secret,”call_back”=>$call_back); }
 *  Plugin Author [CRM Perks](https://wordpress.org/support/users/crmperks/)
 * (@crmperks)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641407)
 * in start , there was default constant contact developer app ID and secret , it
   was easy to connect for beginners
    but later we removed this later , now CC developer
   is required
 *  Thread Starter [kkow](https://wordpress.org/support/users/kkow/)
 * (@kkow)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12641898)
 * I think I see what you’re talking about. Thank you!
 * Is there a way to disable or auto delete the logs after a certain amount of time?
 *  Plugin Author [CRM Perks](https://wordpress.org/support/users/crmperks/)
 * (@crmperks)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12643593)
 * it is Good point , we will add this feature

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Infusionsoft Code in Plugin’ is closed to new replies.

 * ![](https://ps.w.org/cf7-constant-contact/assets/icon-256x256.png?rev=2585272)
 * [Integration for Constant Contact and Contact Form 7, WPForms, Elementor, Ninja Forms](https://wordpress.org/plugins/cf7-constant-contact/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-constant-contact/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-constant-contact/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-constant-contact/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-constant-contact/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-constant-contact/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [CRM Perks](https://wordpress.org/support/users/crmperks/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/infusionsoft-code-in-plugin/#post-12643593)
 * Status: resolved