Below are the available Hooks within Points. These can be used to customize the functionality for Points.
==========
/**
* Fires after points has been successfully added to a user
*
* @param integer $id – User Id
* @param integer $points – Number of points.
*/
do_action( ‘wl_points_points_added', $id, $points );
/**
* Fires after points has been successfully deducted from a user
*
* @param integer $id – User Id
* @param integer $points – Number of points.
*/
do_action( ‘wl_points_points_subsctracted', $id, $points );
—
More info on Hooks can be found in the following articles:
Hooks – Badges
Hooks – Quizzes
Hooks – Courses
—