Skip to content

Instantly share code, notes, and snippets.

@seedprod
Created April 26, 2016 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seedprod/98f8f25468e4cd53b8e5047489843ca7 to your computer and use it in GitHub Desktop.
Save seedprod/98f8f25468e4cd53b8e5047489843ca7 to your computer and use it in GitHub Desktop.
<?php
$username = $_REQUEST['username'];
if(!empty($username)){
// Redirect to our plugin settings page
wp_safe_redirect( home_url().'/'.$username.'/wp-admin/options-general.php?page=seed_cspv5&firstrun=1' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment