advantage_meta_tag

The Advantage advantage meta tag function.

Description

advantage_meta_tag( (int) $meta_icon = 0 ); 

Parameters (1)

0. $meta_icon — Optional. (int)
The meta icon.

Usage

  1. if ( !function_exists( 'advantage_meta_tag' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The meta icon. 
  5. $meta_icon = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = advantage_meta_tag($meta_icon); 
  9.  

Defined (1)

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

/functions.php  
  1. function advantage_meta_tag( $meta_icon = 0 ) { 
  2. $tags_list = get_the_tag_list( '', __( ' • ', 'advantage' ) ); 
  3. if ( $tags_list ) { 
  4. echo '<span class="entry-tags"><i class="icon-tags meta-icon"> </i>'; 
  5. printf( '<span class="entry-tag">%1$s</span>',  
  6. $tags_list ); 
  7. echo '</span>'; 
  8. }