cf7_style_show_tracking

The Contact Form 7 Style cf7 style show tracking function.

Description

cf7_style_show_tracking(); 

Usage

  1. if ( !function_exists( 'cf7_style_show_tracking' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-style/misc/tracking.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cf7_style_show_tracking(); 
  7.  

Defined (1)

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

/misc/tracking.php  
  1. function cf7_style_show_tracking() { 
  2. if ( $_POST['action'] == 'cf7_style_show_tracking' ) { 
  3. if ( !is_numeric( $_POST['cf7_style_allow_tracking'] ) ) { 
  4. die(); 
  5. $allowedornot = $_POST['cf7_style_allow_tracking']; 
  6. if ( $allowedornot == '0' ) { 
  7. update_option( 'cf7_style_allow_tracking', '0' ); 
  8. die();