LLMS_Processor_Course_Data::get_last_run( int $course_id )
Retrieve a timestamp for the last time data calculation was completed for a given course
Parameters Parameters
- $course_id
-
(int) (Required) WP_Post ID of the course.
Return Return
(int) The timestamp of the last run. Returns 0
when no data recorded.
Source Source
File: includes/processors/class.llms.processor.course.data.php
protected function get_last_run( $course_id ) { return absint( get_post_meta( $course_id, '_llms_last_data_calc_run', true ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.12.0 | Introduced. |