函数原型
get_index_rel_link(): string
函数描述
Get site index relational link.
是否弃用
Warning: This function has been deprecated.
函数参数
无
函数返回值
string
函数位置
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 );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.3.0 | This function has been deprecated. |
| 2.8.0 | Introduced. |

