Using wp_dequeue_script for BP js
-
Hey guys (and gals?)
This is kinda a follow up to:
https://buddypress.org/support/topic/am-i-on-a-bp-page-vs-plain-wp-page/#post-201104
After being able to identify which pages are BP and which are not – thanks again for the help @r-a-y – I’m still seeing quite a bit of BP stuff in the <head> even when it’s not a BP page.
Is there a quick / simple / ez way to get a list of BP stuff that can be dequeue’d when it’s a non-BP page? I know I can try to search the BP code base, I just figured I’d ask first. Or maybe this isn’t something I want to do for some other reason?
if you can help me out with such a list, my hope / intention is to whip that into a class to make it ez to use going forward. I’d be happy to share that once it’s done. I’m just looking for some upfront input from the BP Elite.
Thanks again.
http://codex.wordpress.org/Function_Reference/wp_dequeue_script
- The topic ‘Using wp_dequeue_script for BP js’ is closed to new replies.