W3cubDocs

/WordPress

atom_site_icon()

Displays Site Icon in atom feeds.

Description

See also

Source

File: wp-includes/feed.php

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

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/atom_site_icon