SAFECSS_USE_ACE

The Jetpack by WordPress.com SAFECSS USE ACE constant.

Value (string)

! jetpack_is_mobile() && ! Jetpack_User_Agent_Info::is_ipad() && apply_filters( 'safecss_use_ace', true ) 

Usage

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

Defined (1)

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

/modules/custom-css/custom-css.php  
  1. define( 'SAFECSS_USE_ACE', ! jetpack_is_mobile() && ! Jetpack_User_Agent_Info::is_ipad() && apply_filters( 'safecss_use_ace', true ) );