Answers for "hoverintent.min.js wordpress error"

0

hoverintent.min.js wordpress error

// Solution to confliction of jquery with seo plugin - Backend Side

function webslaw_hoverintent_reload() {
    wp_deregister_script('hoverIntent');
    wp_register_script('hoverIntent', ( 'https://cdnjs.cloudflare.com/ajax/libs/jquery.hoverintent/1.10.1/jquery.hoverIntent.min.js'), array('jquery'), 'r6.1');
}
add_action('admin_init', 'webslaw_hoverintent_reload');
Posted by: Guest on September-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language