WPCF7_ADMIN_READ_WRITE_CAPABILITY

The Contact Form 7 WPCF7 ADMIN READ WRITE CAPABILITY constant.

Value (string)

'publish_pages' 

Usage

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