wpmem_login_redirect
-
Hi,
i’m trying to redirect the users to a specific page after login, but without any result.
I tried to insete the code
add_filter( 'wpmem_login_redirect', 'my_login_redirect', 10, 2 ); function my_login_redirect( $redirect_to, $user_id ) { // return the url that the login should redirect to return 'https://yourdomain.com/your-page'; }
in my theme function.php, in wp-member-core.php in the widget script etc but without any result, after login i will redirect directly to the home page..
can you help me with this issue please?
thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wpmem_login_redirect’ is closed to new replies.