wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_author_feed_link [ WordPress Function ]
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
Retrieve the feed link for a given author.
Returns a link to the feed for all posts by a given author. A specific feed can be requested or left blank to get the default feed.
Source
<?php
function get_author_feed_link( $author_id, $feed = '' ) {
$author_id = (int) $author_id;
$permalink_structure = get_option('permalink_structure');
if ( empty($feed) )
$feed = get_default_feed();
if ( '' == $permalink_structure ) {
$link = home_url("?feed=$feed&author=" . $author_id);
} else {
$link = get_author_posts_url($author_id);
if ( $feed == get_default_feed() )
$feed_link = 'feed';
else
$feed_link = "feed/$feed";
$link = trailingslashit($link) . user_trailingslashit($feed_link, 'feed');
}
$link = apply_filters('author_feed_link', $link, $feed);
return $link;
}
?>
Beispiele [ wp-snippets.com ]
Top Google Suchergebnisse
- Function Reference/get author feed link « WordPress Codex
Description. Retrieve the feed link for a given author. Returns a link to the feed for all posts by a given author. A specific feed can be requested or left blank to get ...
codex.wordpress.org - [Plugin: Advanced Permalinks] Breaks get_author_feed_link
[resolved] [Plugin: Advanced Permalinks] Breaks get_author_feed_link (2 posts). pampfelimetten. Member Posted 2 years ago #. If activated and another rewrite ...
wordpress.org - get_author_feed_link() WordPress function reference, arguments ...
get_author_feed_link(). Retrieve the feed link for a given author. Returns a link to the feed for all posts by a given author. A specific feed can be requested or left ...
queryposts.com - get_author_feed_link (WordPress Function) - WPSeek.com
WordPress lookup for get_author_feed_link, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com