Posted By

stavelin on 10/10/09


Tagged

login php wordpress wp


Versions (?)

wordpress login outside blog folder


 / Published in: PHP
 

  1. require_once('../blog/wp-blog-header.php');
  2. if (is_user_logged_in()){
  3. global $user_identity;get_currentuserinfo();
  4. $user = $user_identity;
  5. }

Report this snippet  

You need to login to post a comment.