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.
Any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conditional bp_register_group_extension – how?’ is closed to new replies.