mh_magazine_lite_excerpt_length

The MH Magazine lite mh magazine lite excerpt length function.

Description

mh_magazine_lite_excerpt_length( $length ); 

Parameters (1)

0. $length
The length.

Usage

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

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_magazine_lite_excerpt_length($length) { 
  2. $mh_magazine_lite_options = mh_magazine_lite_theme_options(); 
  3. $excerpt_length = absint($mh_magazine_lite_options['excerpt_length']); 
  4. return $excerpt_length;