Add following code in WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
1. Add following code in _construct function :
PHP Code:
2. The default question types looks like this :
add_filter('wplms_question_types',array($this,'wplms_question_types'));
2. The default question types looks like this :
Code:
$question_types = apply_filters('wplms_question_types',array(
array( 'label' =>__('True or False','vibe'),'value'=>'truefalse'), //0
array( 'label' =>__('Multiple Choice','vibe'),'value'=>'single'),// 1
array( 'label' =>__('Multiple Correct','vibe'),'value'=>'multiple'), // 2
array( 'label' =>__('Sort Answers','vibe'),'value'=>'sort'),// 3
array( 'label' =>__('Match Answers','vibe'),'value'=>'match'), // 4
array( 'label' =>__('Fill in the Blank','vibe'),'value'=>'fillblank'), // 5
array( 'label' =>__('Dropdown Select','vibe'),'value'=>'select'),// 6
array( 'label' =>__('Small Text','vibe'),'value'=>'smalltext'), // 7
array( 'label' =>__('Large Text','vibe'),'value'=>'largetext') // 8
));
you need to disable values : 4 , 5,6
2. Add following function at the end of the class :
PHP Code:
function wplms_question_types($question_types){
unset($question_types[4]);
unset($question_types[5]);
unset($question_types[6]);
return $question_types;
}