Maybe you can try get_user_meta($user->ID, $course_field_name, true)
?
By default, get_user_meta()
returns an array
See http://codex.wordpress.org/Function_Reference/get_user_meta
Maybe you can try get_user_meta($user->ID, $course_field_name, true)
?
By default, get_user_meta()
returns an array
See http://codex.wordpress.org/Function_Reference/get_user_meta