do_action( "llms_user_{$post_type}_enrollment_{$action_type}", int $user_id, int $product_id )

Fires after a user’s enrollment is created or updated.


Description Description

$post_type refers to the type of item the user is enrolled in, either ‘course’ or ‘membership’ $action_type refers to the type of action taking place, either "created" or "updated".


Top ↑

Parameters Parameters

$user_id

(int) WP User ID.

$product_id

(int) WP Post ID of the course or membership.


Top ↑

Source Source

File: includes/models/model.llms.student.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

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