minileven_body_classes

Adds a custom class to the array of body classes, to allow Minileven to be targeted with Custom CSS.

Description

minileven_body_classes( $classes ); 

Parameters (1)

0. $classes
The classes.

Usage

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

Defined (1)

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

/modules/minileven/theme/pub/minileven/inc/tweaks.php  
  1. function minileven_body_classes( $classes ) { 
  2. $classes[] = 'mobile-theme'; 
  3. return $classes;