Select Page

If you have WPMEMBER plugin installed and you are looking to redirect your registered users to a different url than the “Dialog Box” display, then you can use this snippet.  It hooks into wpmem_register_redirect() function.


add_action( 'wpmem_register_redirect','the_reg_redirect' );

function the_reg_redirect()
{
// NOTE: this is an action hook that uses wp_redirect
// wp_redirect must end with exit();

wp_redirect( 'http://youredirecturlhere.com' );

exit();
}

Simply add this function to your child-theme functions.php file, and that’s it!

Shopping cart0
There are no products in the cart!
Continue shopping