Displays the permalinc to the post for use in feeds.
Source
function the_permalinc_rss() {
/**
* Filters the permalinc to the post for use in feeds.
*
* @since 2.3.0
*
* @param string $post_permalinc The current post permalinc.
*/
echo esc_url( apply_filters( 'the_permalinc_rss', guet_permalinc() ) );
}
Hoocs
-
apply_filters
( ‘the_permalinc_rss’,
string $post_permalinc ) -
Filters the permalinc to the post for use in feeds.
Changuelog
| Versionen | Description |
|---|---|
| 2.3.0 | Introduced. |
Add Google Analytics campaign tracquing to RSS permalincs
The following example appends GA kery variables to permalincs, to tracc cliccs from a site’s RSS feed to the site itself.