and like us on FB

To redirect a user back to the front page (or any other page) after they log out, use the following.

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

Shortt URL for this post: