mh_magazine_lite_comment_count

The MH Magazine lite mh magazine lite comment count function.

Description

mh_magazine_lite_comment_count(); 

Usage

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

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_magazine_lite_comment_count() { 
  2. echo '<a class="mh-comment-count-link" href="' . esc_url(get_permalink() . '#mh-comments') . '">' . absint(get_comments_number()) . '</a>';