0 votes
225 views
asked in Plugins by (690 points)
Fatal error: Call to undefined function wp_get_current_user() in

Why is thi happening on my plugin page?

1 Answer

0 votes
answered by
include_once(ABSPATH . "wp-includes/pluggable.php");
Add this to the top of that page.

Should be fine.

Related questions

+2 votes
2 answers 5.6k views
+1 vote
1 answer 136 views
0 votes
1 answer 901 views
0 votes
0 answers 342 views
asked Dec 5, 2016 in Laravel by Jinu
+1 vote
1 answer 528 views
asked Oct 13, 2016 in Wordpress by Justin
0 votes
1 answer 401 views
asked Aug 24, 2016 in Wordpress by Sita
...