wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
the_feed_link › WordPress Function
Da3.0.0
Deprecaton/a
› the_feed_link ( $anchor, $feed = '' )
| Parametri: (2) |
|
| Definito a: |
|
| Codex: |
Displays the permalink for the feed type.
Funzioni correlate: get_feed_link, feed_links, get_author_feed_link, get_tag_feed_link, get_term_feed_link
Sorgenti
function the_feed_link( $anchor, $feed = '' ) {
$link = '<a href="' . esc_url( get_feed_link( $feed ) ) . '">' . $anchor . '</a>';
/**
* Filters the feed link anchor tag.
*
* @since 3.0.0
*
* @param string $link The complete anchor tag for a feed link.
* @param string $feed The feed type. Possible values include 'rss2', 'atom',
* or an empty string for the default feed type.
*/
echo apply_filters( 'the_feed_link', $link, $feed );
}