WPCF7_PLUGIN_MODULES_DIR

The Contact Form 7 WPCF7 PLUGIN MODULES DIR constant.

Value (string)

WPCF7_PLUGIN_DIR . '/modules' 

Usage

  1. if ( defined( 'WPCF7_PLUGIN_MODULES_DIR' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'WPCF7_PLUGIN_MODULES_DIR' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

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

/wp-contact-form-7.php  
  1. define( 'WPCF7_PLUGIN_MODULES_DIR', WPCF7_PLUGIN_DIR . '/modules' );