Browse: Home / Classes / LDLMS_Factory_Post /


LDLMS_Factory_Post::exam( int|object $exam = null,  array $atts = array(),  bool $reload = false )

Get a Exam.

Description #

Parameters #


(int|object) (Optional) Either exam_id integer or WP_Post instance.

Default value: null


(array) (Optional) Array of attributes (course_id, user_id).

Default value: array()


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

Default value: false

Return #

(object|null) Instance of LDLMS_Model_Exam or null

Source #

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

Changelog #

Version Description
4.0.0 Introduced.