get_self_link()
最后更新于:2021-11-27 00:09:37
get_self_link()响应s the link for the currently displayed feed.
响应
(string) Correct link for the atom:self element.
源文件
文件: gc-includes/feed.php
function get_self_link() {
$host = parse_url( home_url() );
return set_url_scheme( 'http://' . $host['host'] . gc_unslash( $_SERVER['REQUEST_URI'] ) );
}