CPT_VERSION

Left for legacy purposes.

Value (string)

'1.5.3' 

Usage

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

Defined (1)

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

/custom-post-type-ui.php  
  1. define( 'CPT_VERSION', '1.5.3' ); // Left for legacy purposes.