I'm trying to modify the css meta tag and make use of a CDN url - and other things.
What I have tried (as a quick test) is :
function change_stylesheet_loc($uri)
{
$uri = str_replace('example.com', 'cdn.example.com', $uri);
return $uri;
}
add_filter('stylesheet_uri', 'change_stylesheet_loc', 20000);
I've also tried :
add_filter('the_content', 'change_stylesheet_loc', 20000);
Nothing I'm doing is working. How can I modify the css meta tag data?
