CMB2_LOADED

The Maps Builder CMB2 LOADED constant.

Value (bool)

true 

Usage

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

Defined (2)

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

/includes/libraries/metabox/init.php  
  1. define( 'CMB2_LOADED', true ); 
/vendor/wordimpress/maps-builder-core/includes/libraries/metabox/init.php  
  1. define( 'CMB2_LOADED', self::PRIORITY );