get_index_rel_link()
Deprecated from version 3.3.0. It is no longer supported and can 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
Return
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.7.1
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 ); }