wpcf7_scan_form_tags

The Contact Form 7 wpcf7 scan form tags function.

Description

wpcf7_scan_form_tags( (null) $cond = null ); 

Parameters (1)

0. $cond — Optional. (null) => null
The cond.

Usage

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

Defined (1)

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

/includes/form-tags-manager.php  
  1. function wpcf7_scan_form_tags( $cond = null ) { 
  2. $contact_form = WPCF7_ContactForm::get_current(); 
  3.  
  4. if ( $contact_form ) { 
  5. return $contact_form->scan_form_tags( $cond ); 
  6.  
  7. return array();