Warning: This function has been deprecated.

get_index_rel_link() WordPress Function

The get_index_rel_link() function is used to retrieve the link relationship URL for the index page of a WordPress site. This function is typically used by themes and plugins to display a link back to the home page of a WordPress site.

get_index_rel_link() #

Get site index relational link.


Return

(string)


Top ↑

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 );
}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0This function has been deprecated.
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More