Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Plugins by
edited by
Everyone asks me what php function is used to update point (bonus point) of user in source?
Q2A version: v2.7
Q2A version 2.7, why so? There are big updates now .

1 Answer

+1 vote

You can set the bonus points with the function

qa_db_points_set_bonus($userid, $bonus)

If you want to add points to existing bonus points you’ll need to get the user’s bonus points first.