LLMS_Processor_Course_Data::is_already_processing_course( int $course_id )

Determines if the supplied course is already being processed.


Description Description

If it’s already being processed we’ll throttle the processing so we’ll wait until the course completes its current data processing and start again later.


Top ↑

Parameters Parameters

$course_id

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


Top ↑

Return Return

(boolean)


Top ↑

Source Source

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

	protected function is_already_processing_course( $course_id ) {
		return llms_parse_bool( get_post_meta( $course_id, '_llms_temp_calc_data_lock', true ) );
	}


Top ↑

Changelog 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.