Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
496 views
in Q2A Core by

Is there a better way to get a user's points than the answer below?

I can't find any relevant functions; qa_get_logged_in_user_field only appears to get fields from the users table, which does not contain the points.

related to an answer for: How to display notice for new users?

1 Answer

+4 votes
by
 
Best answer

From the 1.4 developer version onwards, you can use qa_get_logged_in_user_points() which is defined in qa-app-users.php.

...