cf7_get_custom_field

The Contact Form 7 - Dynamic Text Extension cf7 get custom field shortcode.


Usage

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

Defined (1)

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

/contact-form-7-dynamic-text-extension.php  
  1.  
  2. return $val; 
  3.  
  4. add_shortcode('CF7_get_custom_field', 'cf7_get_custom_field'); 
  5.  
  6. /** Insert information about the current user 
  7. * New in 1.0.4  
  8. * See https://codex.wordpress.org/Function_Reference/wp_get_current_user  
  9. */