Showing additional profile field date below instructor name

Please try adding the given code in your wplms-customizer.php file in wplms customizer plugin :

add_filter('wplms_instructor_meta','show_profile_fileds_custom',10,2);
function show_profile_fileds_custom($html,$instructor_id){
  $field = 'Bio';
  $more = bp_get_profile_field_data('field='.$field.'&user_id='.$instructor_id);
  if(isset($more))
  $html .= '<span>'.$more.'</span>';
  return $html;
}

Replace “Bio ” in above code with your profile field name .

Leave a Reply

Your email address will not be published. Required fields are marked *