Unable to deregister plugin scripts
-
I’ve got two version of jquery UI date picker running in two different plugins which is causing a conflict in admin dash->posts . I’ve tried to use deregister script but it’s not working and it’s driving me crazy as I can’t work out what I’m doing wrong
[ Moderator note: code fixed ]
add_action( 'wp_enqueue_scripts', 'site_init', 100000 ); function site_init() { wp_deregister_script('jquery-timepicker'); }
I’ve tried several different variations based on googling the results for it but I’m unable to make any of them work.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Unable to deregister plugin scripts’ is closed to new replies.