📜  hoverintent.min.js wordpress 错误 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:24.628000             🧑  作者: Mango

代码示例1
// 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');