I want to remove a CSS from loading in the header, this is the code that appears:
<link rel='stylesheet' id='my-css' href='http://test.tld/wp-content/themes/mytheme/my.css?ver=3.5' type='text/css' media='all' />
I tried using these functions but it didn't work:
wp_dequeue_style('my-css');
wp_deregister_style('my-css');
Is there other ways that the above CSS line can be removed without manually editing it in the template?
Thanks.