i search lot of thing but i can’t find any perfect solutions for that.

i want to use inline style in my WordPress theme from back-end panel so i want to remove style.css with WordPress function mean i don’t want to delete style.css , i just want remove link in head section.

I used this function but it removed all attached CSS

add_action('style_loader_src','dequeue_my_css',10,100);

i also used wp_dequeue_style() but it’s not work on main style.css

Read more here: i want to remove style.css from head with wordpress php function


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: