W3cubDocs

/WordPress

apply_filters( ‘self_link’, string $feed_link )

Filters the current feed URL.

Description

See also

Parameters

$feed_linkstring
The link for the feed with set URL scheme.

More Information

The filter function must return a value after it is finished processing or the result will be empty.

Source

echo esc_url( apply_filters( 'self_link', get_self_link() ) );

Changelog

Version Description
3.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/self_link