advantage_category_count_span

Add span to category/archive count.

Description

advantage_category_count_span( $links ); 

Parameters (1)

0. $links
The links.

Usage

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

Defined (1)

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

/inc/lib-functions.php  
  1. function advantage_category_count_span($links) { 
  2. $links = str_replace( '</a> (', '</a> <span>(', $links ); 
  3. $links = str_replace( ')', ')</span>', $links ); 
  4. return $links;