get_self_link()
Returns the link for the currently displayed feed.
Description Description
Return Return
(string) Correct link for the atom:self element.
Source Source
File: wp-includes/feed.php
function get_self_link() { $host = @parse_url( home_url() ); return set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |