E
E
Evgeny Fedorov2014-11-12 21:46:48
Bootstrap
Evgeny Fedorov, 2014-11-12 21:46:48

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

1 answer(s)
A
Alexander Zelenin, 2014-11-13
@zelenin

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 question

Ask a Question

731 491 924 answers to any question