Documentation: hooks

Here’s the list of posts we found for your request.

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

Read More »

Hooks – Courses

Below are the available Hooks within Courses. These can be used to customize the functionality for Courses. Filters and Actions can be setup using these Hooks. Triggers Filters ========== /*** Fires after successfully marking a course/module/lesson completed** @param integer $userid User Id* @param integer $content_id Course/Module/Lesson Post Id* @param string $post_type Course/Module/Lesson Post Type*/do_action( ‘wlcourses_contents_marked_completed’,

Read More »

Hooks – Quizzes

Below are the available Hooks within Quizzes. These can be used to customize the functionality for Quizzes. ========== /*** Fires after the user passes a quiz** @param integer $quiz_id – Quiz Id* @param integer current_user->ID – User ID*/do_action( ‘wl_quiz_passed’, $quiz_id, $current_user->ID ); /*** Fires after the user fails a quiz** @param integer $quiz_id – Quiz

Read More »

Hooks – Badges

Below are the available Hooks within Badges. These can be used to customize the functionality for Badges. ========== /*** Fires after a badge has been successfully added to a user** @param integer $user_id – User Id* @param integer $badge_id – ID of the badge added.*/do_action( ‘wishlistbadge_add_user_badge’, $user_id, $badge_id ); /*** Fires after a badge has

Read More »