cf7_infusionsoft_add_tag_generator

Enable the InfusionSoft tags in the tag generator.

Description

cf7_infusionsoft_add_tag_generator(); 

Usage

  1. if ( !function_exists( 'cf7_infusionsoft_add_tag_generator' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-infusionsoft-add-on/cf7-infusionsoft-addon.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cf7_infusionsoft_add_tag_generator(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/cf7-infusionsoft-addon.php  
  1. function cf7_infusionsoft_add_tag_generator() { 
  2. if( function_exists('wpcf7_add_tag_generator') ) { 
  3. // Modify callback based on CF7 version 
  4. $callback = function_exists('wpcf7_add_meta_boxes') ? 'wpcf7_tag_generator_infusionsoft_old' : 'wpcf7_tag_generator_infusionsoft'; 
  5. wpcf7_add_tag_generator( 'infusionsoft', 'Infusionsoft Fields', 'wpcf7-tg-pane-infusionsoft', $callback );