Following the same logic we can use wp_print_styles
to remove the Open Sans font:
1 2 3 4 | function remove_open_sans() { wp_dequeue_style( 'twentytwelve-fonts' ); } add_action('wp_print_styles','remove_open_sans'); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.