wpcf7_form_tag_supports

The Contact Form 7 wpcf7 form tag supports function.

Description

wpcf7_form_tag_supports( $tag, $feature ); 

Parameters (2)

0. $tag
The tag.
1. $feature
The feature.

Usage

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

Defined (1)

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

/includes/form-tags-manager.php  
  1. function wpcf7_form_tag_supports( $tag, $feature ) { 
  2. $manager = WPCF7_FormTagsManager::get_instance(); 
  3.  
  4. return $manager->tag_type_supports( $tag, $feature );