0 votes
310 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.7k views
+1 vote
1 answer 214 views
0 votes
1 answer 907 views
0 votes
0 answers 344 views
asked Dec 6, 2016 in Laravel by Jinu
+1 vote
1 answer 531 views
asked Oct 14, 2016 in Wordpress by Justin
0 votes
1 answer 403 views
asked Aug 25, 2016 in Wordpress by Sita
...