daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest May 25th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_currentuserinfo() ;
  2.     global $user_level;
  3.         if ($user_level > 0) { ?>
  4.  
  5.  
  6. ====== THE HTML CONTENT GOES HERE ======
  7.  
  8.  
  9. <?php } else {
  10.     wp_redirect(get_bloginfo("url") . '/wp-login.php?redirect_to=' . $_SERVER['REQUEST_URI']);
  11.     }
  12. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top