Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to redirect to login and return

It looks like what I want to do could be done in /bp-core/bp-core-catchuri.php:function bp_core_catch_no_access() by starting the function with:

if ( $bp_no_status_set ) bp_core_redirect($bp->root_domain.”/wp-login.php?redirect_to=”.$bp_unfiltered_uri);

instead of just returning false, but bp_core_catch_no_access() doesn’t seem to be called anywhere.

Skip to toolbar