wpcf7_is_posted

The Contact Form 7 wpcf7 is posted function.

Description

wpcf7_is_posted(); 

Usage

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

Defined (1)

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

/includes/contact-form-functions.php  
  1. function wpcf7_is_posted() { 
  2. if ( ! $contact_form = wpcf7_get_current_contact_form() ) { 
  3. return false; 
  4.  
  5. return $contact_form->is_posted();