LLMS_Processor_Membership_Bulk_Enroll::init()
Initializer
Contents
Return Return
(void)
Source Source
File: includes/processors/class.llms.processor.membership.bulk.enroll.php
protected function init() { // for the cron add_action( $this->schedule_hook, array( $this, 'dispatch_enrollment' ), 10, 2 ); // for LifterLMS actions which trigger bulk enrollment $this->actions = array( 'llms_membership_do_bulk_course_enrollment' => array( 'arguments' => 2, 'callback' => 'schedule_enrollment', 'priority' => 10, ), ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |