auto_discovery_link_tags
— Get link tags for the RSS and Atom feeds.
Summary
This function outputs a <link> tag for the RSS feed so the browser can auto-discover the feed.
- auto_discovery_link_tags()
Get link tags for the RSS and Atom feeds.
- Returns:
string HTML
Usage
Examples
Use in the document <head>
to add links to the RSS and Atom feeds.
<head>
<?php echo auto_discovery_link_tags(); ?>
</head>