post_type, 'normal', 'high' ); } public function metabox( $post_id ) { return apply_filters( 'lp/metabox/question/lists', array( '_lp_mark' => new LP_Meta_Box_Text_Field( esc_html__( 'Points', 'learnpress' ), esc_html__( 'Points for choosing the correct answer.', 'learnpress' ), '1', array( 'type_input' => 'number', 'custom_attributes' => array( 'min' => '1', 'step' => '1', ), 'style' => 'width: 60px;', ) ), '_lp_hint' => new LP_Meta_Box_Textarea_Field( esc_html__( 'Hint', 'learnpress' ), esc_html__( 'The instructions for the user to select the right answer. The text will be shown when users click the \'Hint\' button.', 'learnpress' ), '' ), '_lp_explanation' => new LP_Meta_Box_Textarea_Field( esc_html__( 'Explanation', 'learnpress' ), esc_html__( 'The explanation will be displayed when students click the "Check Answer" button.', 'learnpress' ), '' ), ) ); } public function output( $post ) { parent::output( $post ); ?>