contact-form-7

Shortcodes.


Usage

  1. // basic usage 
  2. echo do_shortcode('[contact-form-7]'); 
  1. // variable usage 
  2. $result = do_shortcode('[contact-form-7]'); 
  3. echo $result;  

Defined (1)

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

/settings.php  
  1. functionwpcf7) { 
  2. WPCF7::load_modules(); 
  3.  
  4. /** Shortcodes */ 
  5. add_shortcode( 'contact-form-7', 'wpcf7_contact_form_tag_func' ); 
  6. add_shortcode( 'contact-form', 'wpcf7_contact_form_tag_func' ); 
  7.  
  8. add_action( 'init', 'wpcf7_init' ); 
  9.