Answer the question
In order to leave comments, you need to log in
How to check in wp plugin that theme is using bootstrap css?
I want to write a plugin using boostrap but which will support themes that don't have bootstrap. Something likeif(!boostrap.exists) {include bootstrap.css}
Answer the question
In order to leave comments, you need to log in
codex.wordpress.org/Function_Reference/wp_style_is
codex.wordpress.org/Function_Reference/wp_script_is
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question