wpcf7dtx_add_tag_generator_dynamictext

The Contact Form 7 - Dynamic Text Extension wpcf7dtx add tag generator dynamictext function.

Description

wpcf7dtx_add_tag_generator_dynamictext(); 

Usage

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

Defined (1)

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

/contact-form-7-dynamic-text-extension.php  
  1. function wpcf7dtx_add_tag_generator_dynamictext() { 
  2.  
  3. if ( ! class_exists( 'WPCF7_TagGenerator' ) ) return; 
  4.  
  5. $tag_generator = WPCF7_TagGenerator::get_instance(); 
  6. $tag_generator->add( 'dynamictext', __( 'dynamic text', 'contact-form-7' ),  
  7.  
  8. $tag_generator->add( 'dynamichidden', __( 'dynamic hidden', 'contact-form-7' ),