cf7_style_tracking_enque_script

The Contact Form 7 Style cf7 style tracking enque script function.

Description

cf7_style_tracking_enque_script(); 

Usage

  1. if ( !function_exists( 'cf7_style_tracking_enque_script' ) ) { 
  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_tracking_enque_script(); 
  7.  

Defined (1)

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

/misc/tracking.php  
  1. function cf7_style_tracking_enque_script() { 
  2. $activeordismiss = get_option( 'cf7_style_allow_tracking' ); 
  3. if ( $activeordismiss !== '0' && $activeordismiss !== '1' ) { 
  4. wp_enqueue_style( 'wp-pointer' ); 
  5. wp_enqueue_script( 'wp-pointer' );