I have a question and a technical issue in wordpress. That is, i have a login form on my website to allow visitors to login to see special content. The question goes here, when the time they log in, i am managed to redirect them to a targeted page. When the time they logging out from the member zone, i am out of idea how to send them to a different targeted page.
In my function.php file, I have this code:
How to add the page url that i want to redirect them to this code above? I am just beginner in php. Hope to get some guidance.