I found a temporary solution.
Replacing :
$terms = STM_LMS_Manage_Course::get_terms('stm_lms_course_taxonomy', array('hide_empty' => false), false);
By :
$terms = get_terms('stm_lms_course_taxonomy', array('hide_empty' => false));
And changed the variables in the associated foreach
like $term->term_id
and $term->name
But I can’t really tell if it does the job or not …
-
This reply was modified 4 years, 6 months ago by kiw808.