jetpack_maybe_holiday_snow

The Jetpack by WordPress.com jetpack maybe holiday snow function.

Description

jetpack_maybe_holiday_snow(); 

Usage

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

Defined (1)

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

/modules/holiday-snow.php  
  1. function jetpack_maybe_holiday_snow() { 
  2. return; 
  3.  
  4. if ( is_admin() ) { 
  5. global $jetpack_holiday_snow; 
  6. $jetpack_holiday_snow = new Jetpack_Holiday_Snow_Settings(); 
  7. } elseif ( get_option( jetpack_holiday_snow_option_name() ) ) { 
  8. add_action( 'init', 'jetpack_holiday_snow_script' );