Override the function twentytwelve_scripts_styles in a child theme
If you want to remove the entire twentytwelve_scripts_styles function, you have to remove the action hook : remove_action( ‘wp_enqueue_scripts’, ‘twentytwelve_scripts_styles’ ); However, this code have to execute after the function is being hooked by Twenty Twelve code, and before the action is fired (because after it’s too late). The child theme functions.php file is loaded … Read more