safecss_preview_flag

The Jetpack by WordPress.com safecss preview flag function.

Description

safecss_preview_flag(); 

Usage

  1. if ( !function_exists( 'safecss_preview_flag' ) ) { 
  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 = safecss_preview_flag(); 
  7.  

Defined (1)

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

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