LLMS_Question_Types::get_model()
Retrieve question type model defaults
Return Return
(array)
Source Source
File: includes/class.llms.question.types.php
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | public static function get_model() { return apply_filters( 'llms_question_type_model_defaults' , array ( 'choices' => array ( 'selectable' => true, 'markers' => range( 'A' , 'Z' ), 'max' => 26, 'min' => 2, 'multi' => true, 'type' => 'text' , ), 'clarifications' => true, 'description' => true, 'default_choices' => array (), 'grading' => 'auto' , 'group' => array ( 'order' => 20, 'name' => __( 'Other' , 'lifterlms' ), ), 'icon' => 'question-circle' , 'id' => 'generic' , 'image' => true, 'name' => esc_html__( 'Question' , 'lifterlms' ), 'placeholder' => esc_attr__( 'Enter your question...' , 'lifterlms' ), 'points' => true, 'random_lock' => false, 'video' => true, ) ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.30.3 | Fixed typo in icon name. |
3.16.0 | Introduced. |