WordPress at a glance
function is not described

self_link() WP 2.5.0

Display the link for the currently displayed feed in a XSS safe way.

Generate a correct link for the atom:self element.

Hooks in function
Return

Nothing (null).

Usage

self_link();

Code of self link: wp-includes/feed.php WP 5.2.2

<?php
function self_link() {
	$host = @parse_url( home_url() );
	/**
	 * Filters the current feed URL.
	 *
	 * @since 3.6.0
	 *
	 * @see set_url_scheme()
	 * @see wp_unslash()
	 *
	 * @param string $feed_link The link for the feed with set URL scheme.
	 */
	echo esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
}