Removing Scripts and Styles

jsmeltzer edited this page Jul 10, 2012 · 1 revision

To remove all scripts and styles add the following to your child theme's functions.php file

add_action('template_redirect', 'remove_parent_scripts_and_styles', 1);
function remove_parent_scripts_and_styles() {
	remove_action('wp_enqueue_scripts', 'setup_scripts_and_styles_enqueue', 20);
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.