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!

There are no products

Get a FREE 15 minute consultation!

Stuck on deciding what is best for your website?  Need someone to bounce ideas off of?

Great first step! I will contact you via email soon.