Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp plugin handles deregister

//you can easily deregister them using the code below:

add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
 
function my_deregister_javascript() {
wp_deregister_script( 'contact-form-7' );
wp_deregister_script( 'gdwpm_lightbox-script' );
wp_deregister_script( 'another-plugin-script' );
}
Source by www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #wp #plugin #handles #deregister
ADD COMMENT
Topic
Name
5+5 =