cf7_infusionsoft_addon_panel_meta

The Contact Form 7 - Infusionsoft Add-on cf7 infusionsoft addon panel meta function.

Description

cf7_infusionsoft_addon_panel_meta( $post ); 

Parameters (1)

0. $post
The post.

Usage

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

Defined (1)

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

/cf7-infusionsoft-addon.php  
  1. function cf7_infusionsoft_addon_panel_meta( $post ) { 
  2. wp_nonce_field( 'cf7_infusionsoft_addon_metaboxes', 'cf7_infusionsoft_addon_metaboxes_nonce' ); 
  3. $infusionsoft_addon_tag_value = get_post_meta( $post->id(), '_cf7_infusionsoft_addon_tag_key', true ); 
  4.  
  5. // The meta box content 
  6. echo '<h3>InfusionSoft Tags</h3> 
  7. <fieldset> 
  8. <legend>Enter tags exactly how they appear in InfusionSoft. Separate multiple tags with commas. <br>These must already be defined in InfusionSoft.</legend> 
  9. <input type="text" placeholder="Tag 1, tag_2, etc." id="cf7_infusionsoft_addon_tags" name="cf7_infusionsoft_addon_tags" value="' . esc_attr( $infusionsoft_addon_tag_value ) . '" size="25" />' . 
  10. '</fieldset>';