WordPress at a glance
function is not described

atom_site_icon() WP 4.3.0

Displays Site Icon in atom feeds.

No Hooks.

Return

Null. Nothing.

Usage

atom_site_icon();

Notes

  • See: get_site_icon_url()

Changelog

Since 4.3.0 Introduced.

Code of atom_site_icon() WP 5.5.1

<?php
function atom_site_icon() {
	$url = get_site_icon_url( 32 );
	if ( $url ) {
		echo '<icon>' . convert_chars( $url ) . "</icon>\n";
	}
}