apply_filters( 'dozent_pre_course_enrol_data', object $enrol, object $course, int|null $order_id, string $expired_at )

Filter the pre enrol data Enrolment data is Object Format


Parameters

$enrol

(object) Enrolment object, set for insert data into 'dozent_enrols' table

$course

(object) Course Object which need enrol

$order_id

(int|null) Order ID if exists

$expired_at

(string) If Exists


Source

File: classes/UserData.php



Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.