I’m trying to redirect logged-in users to a Members Only Home page when they log in. I tried the code below per David’s response on 2/7/20 #1157775 and changed ‘/logged-in-home’ to the page slug of the page I want to redirect them to but it doesn’t work. I’m currently using Peter’s Login Direct plugin but it’s causing me other issues and I’d like to get rid of that plugin. Am I missing anything from the code below?
Doesn’t help me. I have no idea what the $page = 2516 or update_option means. David’s code makes sense to me but seems like something is missing. Any other options?