jetpack_mobile_stylesheet

The Jetpack by WordPress.com jetpack mobile stylesheet function.

Description

jetpack_mobile_stylesheet( $theme ); 

Parameters (1)

0. $theme
The theme.

Usage

  1. if ( !function_exists( 'jetpack_mobile_stylesheet' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/minileven/minileven.php'; 
  3.  
  4. // The theme. 
  5. $theme = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jetpack_mobile_stylesheet($theme); 
  9.  

Defined (1)

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

/modules/minileven/minileven.php  
  1. function jetpack_mobile_stylesheet( $theme ) { 
  2. /** 
  3. * Filter Jetpack's Mobile stylesheet. 
  4. * @module minileven 
  5. * @since 1.8.0 
  6. * @param string $theme Theme. 
  7. */ 
  8. return apply_filters( 'jetpack_mobile_stylesheet', 'pub/minileven', $theme );