enqueue_comment_hotkeys_js()WP 2.7.0

Enqueues comment shortcuts jQuery script.

No Hooks.

Return

null. Nothing.

Usage

enqueue_comment_hotkeys_js();

Changelog

Since 2.7.0 Introduced.

enqueue_comment_hotkeys_js() code WP 6.1.1

function enqueue_comment_hotkeys_js() {
	if ( 'true' === get_user_option( 'comment_shortcuts' ) ) {
		wp_enqueue_script( 'jquery-table-hotkeys' );
	}
}