LLMS_Processor_Course_Data::schedule_calculation( int $course_id, int $time = null )

Schedule a calculation to execute


Description Description

This will schedule an event that will setup the queue of items for the background process.


Parameters Parameters

$course_id

(Required) WP Post ID of the course.

$time

(Optional) y pass a timestamp for when the event should be run.

Default value: null


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/processors/class.llms.processor.course.data.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.21.0 Force $course_id to an absolute integer to avoid duplicate scheduling resulting from loose variable typing.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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