After refactoring/restructuring files in my plug-in, I now get the error
Uncaught Error: Call to undefined function get_userdata()
$current_user_id = get_current_user_id(); $current_user_meta = get_userdata($current_user_id);
I also tried as it was before, in another .php file that was
These lines are and were appearing quite early in my plug-in code ... am I missing some dependency before running them?