Removing Scripts and Styles - WordPress-Phoenix/whitelabel-framework GitHub Wiki

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);
}
⚠️ **GitHub.com Fallback** ⚠️