A WordPress-centric search engine for devs and theme authors



self_link ›

Since3.6.0
Deprecatedn/a
apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] )
Parameters:
  • (string) $feed_link The link for the feed with set URL scheme.
    Required: Yes
See:
  • wp_unslash()
Defined at:
Codex:

Filters the current feed URL.





Source

echo esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );