custom_css_is_customizer_preview

The Jetpack by WordPress.com custom css is customizer preview function.

Description

custom_css_is_customizer_preview(); 

Usage

  1. if ( !function_exists( 'custom_css_is_customizer_preview' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/custom-css/custom-css.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = custom_css_is_customizer_preview(); 
  7.  

Defined (1)

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

/modules/custom-css/custom-css.php  
  1. function custom_css_is_customizer_preview() { 
  2. _deprecated_function( __FUNCTION__, '2.1', 'Jetpack_Custom_CSS::is_customizer_preview()' ); 
  3.  
  4. return Jetpack_Custom_CSS::is_customizer_preview();