ATD_TINYMCE_4

The Jetpack by WordPress.com ATD TINYMCE 4 constant.

Value (string)

( ! empty( $GLOBALS['tinymce_version'] ) && substr( $GLOBALS['tinymce_version'], 0, 1 ) >= 4 ) 

Usage

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

Defined (1)

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

/modules/after-the-deadline.php  
  1. define( 'ATD_TINYMCE_4', ( ! empty( $GLOBALS['tinymce_version'] ) && substr( $GLOBALS['tinymce_version'], 0, 1 ) >= 4 ) );