RWMB_DIR

The Evolved RWMB DIR constant.

Value (string)

trailingslashit( get_stylesheet_directory() . '/meta-box' ) 

Usage

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

Defined (2)

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

/functions.php  
  1. define( 'RWMB_DIR', trailingslashit( get_stylesheet_directory() . '/meta-box' ) ); 
/meta-box/meta-box.php  
  1. define( 'RWMB_DIR', plugin_dir_path( __FILE__ ) );