atom_site_icon

Displays Site Icon in atom feeds.

Description

atom_site_icon(); 

Usage

  1. if ( !function_exists( 'atom_site_icon' ) ) { 
  2. require_once ABSPATH . WPINC . '/feed.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = atom_site_icon(); 
  7.  

Defined (1)

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

/wp-includes/feed.php  
  1. function atom_site_icon() { 
  2. $url = get_site_icon_url( 32 ); 
  3. if ( $url ) { 
  4. echo "<icon>$url</icon>\n";