str_replace inside specific css files
Is it possible to perform str_replace inside an enqueue stylesheet? i can do str_replace on inline style with this function
function replace_text($text) {
$text = str_replace('background-image', 'background', $text);
return $text;
}
add_filter('the_content', 'replace_text');
is it possible to perform the same action inside style.css file ?
wp-content/plugins/assets/style.css
Topic wp-enqueue-style css customization Wordpress
Category Web