Browse: Home / Classes / LDLMS_Factory_Post /

LDLMS_Factory_Post::course

LDLMS_Factory_Post::course( integer $course = null,  boolean $reload = false )

Get a Course.


Description #


Parameters #

$course

(integer) (Optional) Either course_id integer or WP_Post instance.

Default value: null

$reload

(boolean) (Optional) To force reload of instance.

Default value: false


Return #

(new) instance of LDLMS_Model_Course


Source #

File: includes/classes/class-ldlms-factory-post.php