cf7_referrer

The Contact Form 7 - Dynamic Text Extension cf7 referrer shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[cf7_referrer]'); 
  1. // variable usage 
  2. $result = do_shortcode('[cf7_referrer]'); 
  3. echo $result;  

Defined (1)

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

/contact-form-7-dynamic-text-extension.php  
  1.  
  2.  
  3. function cf7_get_referrer( $atts ) { 
  4. return isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : ''; 
  5. add_shortcode( 'CF7_referrer' , 'cf7_get_referrer' ); 
  6.  
  7.  
  8. function cf7dtx_obfuscate($val) { 
  9. $link = ''; 
  10. foreach(str_split($val) as $letter)