Skip to content

Instantly share code, notes, and snippets.

@fitodac
Last active October 23, 2018 03:11
Show Gist options
  • Save fitodac/11d28ad96fdb785745322f1c4ef6d338 to your computer and use it in GitHub Desktop.
Save fitodac/11d28ad96fdb785745322f1c4ef6d338 to your computer and use it in GitHub Desktop.
WordPress: redirect
<?php wp_redirect( home_url() ); exit; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment