函数原型
get_shortcut_link()
函数描述
Retrieves the Press This bookmarklet link.
是否弃用
Warning: This function has been deprecated.
函数参数
无
函数返回值
无
函数位置
File: wp-includes/deprecated.php.
函数源码
function get_shortcut_link() {
_deprecated_function( __FUNCTION__, '4.9.0' );
$link = '';
/**
* Filters the Press This bookmarklet link.
*
* @since 2.6.0
* @deprecated 4.9.0
*
* @param string $link The Press This bookmarklet link.
*/
return apply_filters( 'shortcut_link', $link );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 4.9.0 | This function has been deprecated. |
| 2.6.0 | Introduced. |

