Conditional bp_register_group_extension – how?
I am trying to only register my groups extension if the user is a site admin. My problem is that bp_register_group_extension doesn’t want to run inside functions or if statements. I’ve tried putting it in functions that hook to wp, init and plugins_loaded but nothing seems to work.
You must be logged in to reply to this topic.