do_action( 'lifterlms_product_purchased', integer $user_id, integer $product_id )

Action fired on product purchased.


Description Description

After the student has been enrolled.


Top ↑

Parameters Parameters

$user_id

(integer) The WP_User ID of the buyer.

$product_id

(integer) The WP_Post ID of the purchased product (course/membership).


Top ↑

Source Source

File: includes/controllers/class.llms.controller.orders.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.