wp_deregister_script mystery
-
Hi all – my dropdown menus in the WordPress admin weren’t working, and I’ve isolated it to this code, placed in my functions.php:
function my_functions_init_booktrib() {
wp_deregister_script(‘jquery’);
}
add_action( ‘init’, ‘my_functions_init_booktrib’ );Can anyone explain why? I want to use Google’s version of jQuery, not WP’s, so I’d like to keep this code… thanks. (:
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘wp_deregister_script mystery’ is closed to new replies.