advantage_replace_rel_category

Replace rel="category tag" with rel="tag" For W3C validation purposes only.

Description

advantage_replace_rel_category( $output ); 

Parameters (1)

0. $output
The output.

Usage

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

Defined (1)

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

/functions.php  
  1. function advantage_replace_rel_category ($output) { 
  2. $output = str_replace(' rel="category tag"', ' rel="tag"', $output); 
  3. return $output;