$courses_category_id ); $terms = get_terms( 'course_category', get_the_ID()); $cat_options = array('' => ''); if ($terms) { foreach ($terms as $term) { $cat_options[$term->name] = $term->name; } } return $cat_options; } function edura_lp_the_loop_instructor() { $author_id = get_the_author_meta('ID'); $author_name = get_the_author_meta('display_name', $author_id); ?> get_profile_picture( '', 96 ); ?>