Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_action('wp_logout',function(){wp_redirect(home_url());exit();'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.