= 5.7){ add_filter( 'wpcf7_autop_or_not', '__return_false' ); } // Initialize the appsero $this->appsero_init_tracker_ultimate_addons_for_contact_form_7(); } /* * Ultimate addons loaded */ public function uacf7_plugin_loaded() { //Register text domain load_plugin_textdomain( 'ultimate-addons-cf7', false, basename( dirname( __FILE__ ) ) . '/languages' ); if(class_exists('WPCF7')){ //Init ultimate addons $this->uacf7_init(); }else{ //Admin notice add_action( 'admin_notices', array( $this, 'uacf7_admin_notice' ) ); } } /* * Admin notice- To check the Contact form 7 plugin is installed */ public function uacf7_admin_notice(){ ?>

Ultimate Addons for Contact Form 7', 'Contact form 7', 'here.' ); ?>

__trans( 'Want to help make %1$s even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information. I agree to get Important Product Updates & Discount related information on my email from %1$s (I can unsubscribe anytime).' ), $client->name ); $client->insights()->notice($notice); // Active insights $client->insights()->init(); } } /* * Object - Ultimate_Addons_CF7 */ $ultimate_addons_cf7 = new Ultimate_Addons_CF7();