Advertisement
Guest User

WordPress plugin redirect on activation

a guest
Apr 18th, 2013
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. // Redirect if not activating multiple plugins at once
  2.  if( ! isset( $_GET['activate-multi'] ) ) {
  3.      wp_redirect( admin_url( 'options-general.php?page=my-plugin-options' ) );
  4.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement