minileven_theme_root

The Jetpack by WordPress.com minileven theme root function.

Description

minileven_theme_root( $theme_root ); 

Parameters (1)

0. $theme_root
The theme root.

Usage

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

Defined (1)

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

/modules/minileven.php  
  1. function minileven_theme_root( $theme_root ) { 
  2. if ( jetpack_check_mobile() ) { 
  3. return dirname( __FILE__ ) . '/minileven/theme'; 
  4.  
  5. return $theme_root;