Remove child category from course category dropdown in edit course

Please add the given code in your wplms-customizer.php file in wplms customizer plugin  .

add_filter('wplms_frint_end_field_taxonomy_args','custom_wplms_front_end_field_taxonomy_args');

add_filter('wplms_front_end_field_taxonomy_args','custom_wplms_front_end_field_taxonomy_args');

function custom_wplms_front_end_field_taxonomy_args(){
    return array('hide_empty' => false,parent=>0,'orderby'=>'name','order'=>'ASC');
}

 

Was this article helpful?

1 Comment

Leave A Comment?