atom_site_icon() WordPress Function
The atom_site_icon() function allows you to set a custom site icon for your WordPress site. This icon will be used as the favicon, mobile icon, and Touch icon for your site. You can upload your own icon, or use one of the default icons that comes with 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>' . convert_chars( $url ) . "</icon>\n"; } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |