Reply To: Conditional enqueue in header
Jared was actually incorrect. 🙂
bbPress actions are piggy-backed on top of WordPress actions, there’s no condition to them.
- If you don’t want bbPress to enqueue it’s own CSS, dequeue it, or make sure your theme has /css/bbpress.css in it.
- bbPress uses admin-ajax.php for a few ajax bits that happen theme-side. They degrade properly, so if you do not want to include the ajax bits, you can safely unhook that too.