Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin Initialization on BP Links


Burt Adsit
Participant

@burtadsit

Lemme go take a look at this Trent.

(10 min later) Oh. I see what you mean. Going to look at how this little goodie works. :)

(15 min later than the previous later) Try this Trent. It seems to work:

add_action('template_redirect', 'members_only',1); On line number 662. Setting the priority to ‘1’ allows this plugin to sneak in before add_action( 'template_redirect', 'bp_core_do_catch_uri', 2 ); which lives at priority ‘2’.

Skip to toolbar