获取站点索引关系链接。
原型
get_index_rel_link()
返回值
(string)
源文件
路径:wp-includes/deprecated.php
<?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 );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/get_index_rel_link/