WPCF7_PLUGIN_BASENAME

The Contact Form 7 WPCF7 PLUGIN BASENAME constant.

Value (string)

plugin_basename( WPCF7_PLUGIN ) 

Usage

  1. if ( defined( 'WPCF7_PLUGIN_BASENAME' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'WPCF7_PLUGIN_BASENAME' ); 
  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_BASENAME', plugin_basename( WPCF7_PLUGIN ) );