wpcf7_contact_form

The Contact Form 7 wpcf7 contact form function.

Description

wpcf7_contact_form( $id ); 

Parameters (1)

0. $id
The id.

Usage

  1. if ( !function_exists( 'wpcf7_contact_form' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/contact-form-functions.php'; 
  3.  
  4. // The id. 
  5. $id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpcf7_contact_form($id); 
  9.  

Defined (1)

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

/includes/contact-form-functions.php  
  1. function wpcf7_contact_form( $id ) { 
  2. return WPCF7_ContactForm::get_instance( $id );