Warning: This method has been deprecated.

LLMS_Lesson::get_drip_days()

Get the lesson drip days


Description Description


Return Return

(int) [ID of the prerequisite post]


Top ↑

Source Source

File: includes/models/model.llms.lesson.php

	public function get_drip_days() {

		llms_deprecated_function( 'LLMS_Lesson::get_drip_days()', '3.16.0', "LLMS_Lesson::get( 'days_before_available' )" );

		if ( $this->days_before_avalailable ) {
			return $this->days_before_avalailable;
		} else {
			return 0;
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: