On this page
apply_filters( 'self_link', string $feed_link )
Filters the current feed URL.
Description
See also
Parameters
$feed_linkstring-
The link for the feed with set URL scheme.
More Information
The filter function must return a value after it is finished processing or the result will be empty.
Source
File: wp-includes/feed.php. View all references
echo esc_url( apply_filters( 'self_link', get_self_link() ) );
Related
Used By
| Used By | Description |
|---|---|
| self_link() wp-includes/feed.php | Displays the link for the currently displayed feed in a XSS safe way. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/self_link