enqueue_comment_hotkeys_js()
Enqueues comment shortcuts jQuery script.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
enqueue_comment_hotkeys_js();
Список изменений
С версии 2.7.0 | Введена. |
Код enqueue_comment_hotkeys_js() enqueue comment hotkeys js WP 6.7.1
function enqueue_comment_hotkeys_js() { if ( 'true' === get_user_option( 'comment_shortcuts' ) ) { wp_enqueue_script( 'jquery-table-hotkeys' ); } }