mh_sb_css

The MH Purity lite mh sb css function.

Description

mh_sb_css( (string) $sb_pos = '' ); 

Parameters (1)

0. $sb_pos — Optional. (string) => ''
The sb pos.

Usage

  1. if ( !function_exists( 'mh_sb_css' ) ) { 
  2. require_once '/includes/mh-functions.php'; 
  3.  
  4. // The sb pos. 
  5. $sb_pos = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = mh_sb_css($sb_pos); 
  9.  

Defined (1)

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

/includes/mh-functions.php  
  1. function mh_sb_css($sb_pos = '') { 
  2. $mh_purity_lite_options = mh_purity_lite_theme_options(); 
  3. if (isset($mh_purity_lite_options['sb_position']) && $mh_purity_lite_options['sb_position'] == 'left') { 
  4. $sb_pos = 'sb-left'; 
  5. } else { 
  6. $sb_pos = 'sb-right'; 
  7. echo $sb_pos;