show_cf7_infusionsoft_addon_options

The Contact Form 7 - Infusionsoft Add-on show cf7 infusionsoft addon options function.

Description

show_cf7_infusionsoft_addon_options(); 

Usage

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

Defined (1)

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

/cf7-infusionsoft-options.php  
  1. function show_cf7_infusionsoft_addon_options() { ?> 
  2. <div class="wrap"> 
  3. <h2>Contact Form 7 - InfusionSoft Add-on Settings</h2> 
  4. <form method="post" action="options.php">  
  5. <?php settings_fields( 'cf7_infusionsoft_api_credentials' ); ?> 
  6. <table class="form-table"> 
  7. <tbody> 
  8. <tr> 
  9. <th scope="row"><label for="infusionsoft_app_name">InfusionSoft App Name:</label></th> 
  10. <td><input type="text" id="infusionsoft_app_name" class="regular-text" name="infusionsoft_app_name" value="<?php echo get_option('infusionsoft_app_name'); ?>" placeholder="Example: wp123"> 
  11. <p class="description">The App Name is the portion of your InfusionSoft URL that comes before ".infusionsoft.com".</p></td> 
  12. </tr> 
  13. <tr> 
  14. <th scope="row"><label for="infusionsoft_api_key">InfusionSoft API Key:</label></th> 
  15. <td><input type="text" id="infusionsoft_api_key" class="regular-text" name="infusionsoft_api_key" value="<?php echo get_option('infusionsoft_api_key'); ?>"> 
  16. <p class="description">Instructions for finding your API Key can be seen in <a target="_blank" href="http://ug.infusionsoft.com/article/AA-00442/0/How-do-I-enable-the-Infusionsoft-API-and-generate-an-API-Key.html">the InfusionSoft User Guide</a>.</p></td> 
  17. </tr> 
  18. </tbody> 
  19. </table> 
  20. <?php submit_button(); ?> 
  21. </form> 
  22. <?php }