enqueue_comment_hotkeys_js

The timeline below displays how wordpress function enqueue_comment_hotkeys_js has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Enqueues comment shortcuts jQuery script.
 *
 * @since 2.7.0
 */
function enqueue_comment_hotkeys_js()
{
    if ('true' === get_user_option('comment_shortcuts')) {
        wp_enqueue_script('jquery-table-hotkeys');
    }
}

WordPress Version: 5.5

/**
 * @since 2.7.0
 */
function enqueue_comment_hotkeys_js()
{
    if ('true' === get_user_option('comment_shortcuts')) {
        wp_enqueue_script('jquery-table-hotkeys');
    }
}

WordPress Version: 4.3

/**
 * @since 2.7.0
 */
function enqueue_comment_hotkeys_js()
{
    if ('true' == get_user_option('comment_shortcuts')) {
        wp_enqueue_script('jquery-table-hotkeys');
    }
}

WordPress Version: 3.7

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