函数原型
enqueue_comment_hotkeys_js()
函数描述
Enqueues comment shortcuts jQuery script.
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-admin/includes/comment.php.
函数源码
function enqueue_comment_hotkeys_js() {
if ( 'true' === get_user_option( 'comment_shortcuts' ) ) {
wp_enqueue_script( 'jquery-table-hotkeys' );
}
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |

