self_link filter-hook . WP 3.6.0
Filters the current feed URL.
Usage
add_filter( 'self_link', 'filter_function_name_1879' ); function filter_function_name_1879( $feed_link ){ // filter... return $feed_link; }
- $feed_link(string)
- The link for the feed with set URL scheme.
Where the hook is called
self_link
wp-includes/feed.php 625
echo esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );