wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_self_link › WordPress Function

Da5.3.0
Deprecaton/a
get_self_link ( Nessun parametro )
Ritorna:
  • (string) Correct link for the atom:self element.
Definito a:
Codex:

Returns the link for the currently displayed feed.



Sorgenti

function get_self_link() {
	$host = parse_url( home_url() );
	return set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) );
}