Hi, when I'm login out, I'm now redirected to the agent dashboard at /agent-dashboard/ but I would like to redirect to the homepage or even better to the my account page. I do not see any option to change the logout url, is it possible to force it through a function in the funtion.php file ?
Hi, when I'm login out, I'm now redirected to the agent dashboard at /agent-dashboard/ but I would like to redirect to the homepage or even better to the my account page. I do not see any option to change the logout url, is it possible to force it through a function in the funtion.php file ?
Thanks for your support,
Hervé
Hello Hervé,
It is possible to modify that logout redirect url, by adding PHP code snippet to your site (to functions.php or to any snippets plugin).
You can use this code to redirect to the my account page:
Let me know if you run into any issues,
Kind regards,
Stefan
Hi,
It's working fine, many thanks for your help.
Best,
Hervé