esc_html__( 'Not Started', 'learndash' ), 'in_progress' => esc_html__( 'In Progress', 'learndash' ), 'complete' => esc_html__( 'Completed', 'learndash' ), ); $learndash_question_types = array( 'single' => esc_html__( 'Single choice', 'learndash' ), 'multiple' => esc_html__( 'Multiple choice', 'learndash' ), 'free_answer' => esc_html__( '"Free" choice', 'learndash' ), 'sort_answer' => esc_html__( '"Sorting" choice', 'learndash' ), 'matrix_sort_answer' => esc_html__( '"Matrix Sorting" choice', 'learndash' ), 'cloze_answer' => esc_html__( 'Fill in the blank', 'learndash' ), 'assessment_answer' => esc_html__( 'Assessment', 'learndash' ), 'essay' => esc_html__( 'Essay / Open Answer', 'learndash' ), ); // This is a global variable which is set in any of the shortcode handler functions. // The purpose is to let the plugin know when and if the any of the shortcodes were used. global $learndash_shortcode_used; $learndash_shortcode_used = false; global $learndash_shortcode_atts; $learndash_shortcode_atts = array(); /** * Metaboxes registered for settings pages etc. */ global $learndash_metaboxes; $learndash_metaboxes = array(); global $learndash_assets_loaded; $learndash_assets_loaded = array(); $learndash_assets_loaded['styles'] = array(); $learndash_assets_loaded['scripts'] = array();