I’m writing a custom plugin and need to get the data for the logged in user.
However, none of the wp functions are working. I’ve tried adding in wp-blog-header.php but that created fatal errors.
Any help would be much appreciated.
- The topic ‘Get current user for plugin’ is closed to new replies.