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


(int) (Required) WP_Post ID of the course.

Top ↑

Return Return

(int) The timestamp of the last run. Returns 0 when no data recorded.

Top ↑

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 ) );

Top ↑

Changelog Changelog

Version Description
4.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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