wp_get_current_user outside wordpresswp_get_current_user outside wordpress

Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. In the code snippet above, we first check if the user is logged in. The best answers are voted up and rise to the top, Not the answer you're looking for? I would like them to work outside the wordpress isntallation directory. Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. error_log(In rcp_redirect_from_premium_post. The Quick Draft widget display and creation of drafts. Is there a proper earth ground point in this switch box? To learn more, see our tips on writing great answers. Why do small African island nations perform better than African continental nations, considering democracy and human development? If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by . I was insterting my script in html