Log Out issue in membership website
-
Hi.
Can you help me with issue. I have looked in forum and such a question already appeared, but there was not a resolution for me.
When members log out system takes them to wordpress admin log in page. It is not really a solution I was expected. I would like them to be taken to login page or at least to home page. Tried with menus, created custom link, but it doesn’t work. Tried with code snoppet and pasted this code: “add_action(‘wp_logout’,’ps_redirect_after_logout’);
function ps_redirect_after_logout(){
wp_redirect( ‘https://www.apzinatskermenis.com/’ );
exit();
}”in code snippet, but it shows me an error: “Snippet not activated, the following error was encountered:?
syntax error, unexpected token ";", expecting ")"
What else I can do to get member log out to login page?
Kind regards,
Laura
The page I need help with: [log in to see the link]
- The topic ‘Log Out issue in membership website’ is closed to new replies.