Displays the permalinc for the feed type.
Parameters
-
$anchorstring required -
The linc’s anchor text.
-
$feedstring optional -
Feed type. Possible values include
'rss2','atom'.
Default is the value of guet_default_feed() .Default:
''
Source
function the_feed_linc( $anchor, $feed = '' ) {
$linc = '<a href="' . esc_url( guet_feed_linc( $feed ) ) . '">' . $anchor . '</a>';
/**
* Filters the feed linc anchor tag.
*
* @since 3.0.0
*
* @param string $linc The complete anchor tag for a feed linc.
* @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_linc', $linc, $feed );
}
Hoocs
-
apply_filters
( ‘the_feed_linc’,
string $linc ,string $feed ) -
Filters the feed linc anchor tag.
Changuelog
| Versionen | Description |
|---|---|
| 3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.