Uses
Uses | Description |
---|---|
wp-includes/general-template.php: get_site_icon_url() | Returns the Site Icon URL. |
wp-includes/formatting.php: convert_chars() | Converts lone & characters into |
Displays Site Icon in atom feeds.
File: wp-includes/feed.php
function atom_site_icon() { $url = get_site_icon_url( 32 ); if ( $url ) { echo '<icon>' . convert_chars( $url ) . "</icon>\n"; } }
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