Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin May 25, 2022 by Tarik Billa Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin