Hooks – Points

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

Back to Top

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support