WPCF7S_PLUGIN_DIR

The Contact Form 7 Style WPCF7S PLUGIN DIR constant.

Value (string)

untrailingslashit( dirname( WPCF7S_PLUGIN ) ) 

Usage

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

Defined (1)

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

/cf7-style.php  
  1. define( 'WPCF7S_PLUGIN_DIR', untrailingslashit( dirname( WPCF7S_PLUGIN ) ) );