W3cubDocs

/WordPress

get_index_rel_link()

This function has been deprecated.

Get site index relational link.

Description

Return

(string)

Source

File: wp-includes/deprecated.php

function get_index_rel_link() {
	_deprecated_function( __FUNCTION__, '3.3.0' );

	$link = "<link rel='index' title='" . esc_attr( get_bloginfo( 'name', 'display' ) ) . "' href='" . esc_url( user_trailingslashit( get_bloginfo( 'url', 'display' ) ) ) . "' />\n";
	return apply_filters( "index_rel_link", $link );
}

Changelog

Version Description
3.3.0 This function has been deprecated.
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_index_rel_link