LLMS_Quiz_Data::__construct( int $quiz_id )
Constructor
Parameters Parameters
- $quiz_id
-
(int) (Required) WP Post ID of the quiz
Source Source
File: includes/class.llms.quiz.data.php
public function __construct( $quiz_id ) { $this->quiz_id = $quiz_id; $this->quiz = llms_get_post( $this->quiz_id ); parent::__construct( $quiz_id ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |