cf7_url

Insert the current URL.


Usage

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

Defined (1)

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

/contact-form-7-dynamic-text-extension.php  
  1. } else { 
  2. $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; 
  3. return $pageURL; 
  4. add_shortcode('CF7_URL', 'cf7_url'); 
  5.  
  6. /** Insert a Custom Post Field 
  7. * New in 1.0.4  
  8. */ 
  9. function cf7_get_custom_field($atts) {