WPSEO_CSSJS_SUFFIX

The Yoast SEO WPSEO CSSJS SUFFIX constant.

Value (string)

( 'development' !== YOAST_ENVIRONMENT ) ? '.min' : '' 

Usage

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

Defined (1)

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

/wp-seo-main.php  
  1. define( 'WPSEO_CSSJS_SUFFIX', ( 'development' !== YOAST_ENVIRONMENT ) ? '.min' : '' );