Usage:
This filter hook enables you to apply your own redirect url upon login.
Parameters:
ActiveMember360 will pass the following parameters to your action function:
$redirect_url | The current redirect URL. |
$pUSER | The current user object. |
Example:
function my_mbr_login_redirect($redirect_url, $pUSER) { // In this simple example, we redirect // the user to a different page return 'http://example.com/my-custom-login-page'; } add_filter('mbr/login/redirect', 'my_mbr_login_redirect',10,2); </code>