layers_get_site_wrapper_class

The Layers layers get site wrapper class function.

Description

layers_get_site_wrapper_class( (string) $class = '' ); 

Parameters (1)

0. $class — Optional. (string) => ''
The class.

Usage

  1. if ( !function_exists( 'layers_get_site_wrapper_class' ) ) { 
  2. require_once '/core/helpers/template.php'; 
  3.  
  4. // The class. 
  5. $class = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = layers_get_site_wrapper_class($class); 
  9.  

Defined (1)

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

/core/helpers/template.php  
  1. function layers_get_site_wrapper_class( $class = '' ) { 
  2.  
  3. $classes = array(); 
  4.  
  5. $classes[] = 'wrapper-site'; 
  6.  
  7. $classes = apply_filters( 'layer_site_wrapper_class', $classes, $class ); 
  8.  
  9. return $classes;