WordPress函数:rsd_link
一、函数简介
显示Really Simple Discovery服务端点的链接。(Displays the link to the Really Simple Discovery service endpoint.)二、函数参数
三、函数案例
<?php rsd_link() ?>
四、源代码
/**
* Displays the link to the Really Simple Discovery service endpoint.
*
* @link http://archipelago.phrasewise.com/rsd
* @since 2.0.0
*/
function rsd_link() {
printf(
'<link rel="EditURI" type="application/rsd+xml" title="RSD" href="%s" />' . "\n",
esc_url( site_url( 'xmlrpc.php?rsd', 'rpc' ) )
);
}
THE END