get_index_rel_link()
Deprecated since 3.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Get site index relational link.
Hooks from the function
Returns
String.
Usage
get_index_rel_link();
Changelog
| Since 2.8.0 | Introduced. |
| Deprecated since | 3.3.0 |
get_index_rel_link() get index rel link code WP 6.9
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 );
}