trouble using get_current_user_id()
-
Note: WordPress installed locally on xampp.
I am working on a plugin and when I try to use get_current_user_id()
I get the error: Fatal error: Call to undefined function wp_get_current_user() in C:\xampp\htdocs\wordpress\wp-includes\user.phpany ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘trouble using get_current_user_id()’ is closed to new replies.