skt_pathway_body_classes

Adds custom classes to the array of body classes.

Description

skt_pathway_body_classes( $classes ); 

Parameters (1)

0. $classes
The classes.

Usage

  1. if ( !function_exists( 'skt_pathway_body_classes' ) ) { 
  2. require_once '/inc/extras.php'; 
  3.  
  4. // The classes. 
  5. $classes = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = skt_pathway_body_classes($classes); 
  9.  

Defined (1)

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

/inc/extras.php  
  1. function skt_pathway_body_classes( $classes ) { 
  2. // Adds a class of group-blog to blogs with more than 1 published author 
  3. if ( is_multi_author() ) { 
  4. $classes[] = 'group-blog'; 
  5.  
  6. return $classes;