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)
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 );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.3.0 | This function has been deprecated. |
| 2.8.0 | Introduced. |