WpProQuiz_View_FrontQuiz::script( boolean $preview = false )
Outputs the question script.
Contents
Description #
Parameters #
- $preview
-
(boolean) (Optional) Whether the quiz is being previewed.
Default value: false
Return #
(void)
Source #
File: includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php
Related #
@package #
Uses #
Uses | Description |
---|---|
includes/quiz/ld-quiz-functions.php: learndash_prepare_quiz_resume_data_to_js () |
Utility function to prepare Quiz Resume PHP array to JSON. |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_scroll_sensitivity |
Filters quiz scroll sensitivity. |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_scroll_speed |
Filters quiz scroll speed. |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_resume_enabled |
Filters quiz resume enabled |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_resume_data |
Filters quiz resume data sent to the front-end |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_resume_cookie_expiration |
Filters the quiz resume cookie expiration. |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: learndash_quiz_resume_cookie_send_timer |
Filters interval quiz resume saves data to the server. |
includes/classes/class-ldlms-model-user-quiz-resume.php: LDLMS_User_Quiz_Resume::get_user_quiz_resume_activity () |
Get the User Quiz Resume Activity and Meta record. |
includes/ld-misc-functions.php: learndash_format_course_points () |
Formats course points to the specified decimal value. |
includes/settings/settings-functions.php: learndash_get_setting () |
Gets the LearnDash setting for a post. |
includes/class-ld-custom-label.php: LearnDash_Custom_Label::get_label () |
Get label based on key name. |
includes/class-ld-lms.php: SFWD_LMS::get_template () |
Get LearnDash template and pass data to be used in template |
includes/quiz/ld-quiz-functions.php: learndash_get_quiz_id_by_pro_quiz_id () |
Gets the quiz ID from the pro quiz ID. |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: WpProQuiz_View_FrontQuiz::showQuizBox () | |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: WpProQuiz_View_FrontQuiz::createOption () |
Used By #
Used By | Description |
---|---|
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php: WpProQuiz_View_FrontQuiz::script_preview () |