Hello guys, i have this problem. I added this additional field but i can't get the value for that specific field
I'm using this code but shows nothing:
($field['type'] === 'cedula' && !empty($course_id)) {
$current_user = wp_get_current_user();
if (!empty($current_user)) {
$field['content'] = $current_user->"here should be the variable";
}
And my code reference is this one:
($field['type'] === 'full_name' && !empty($course_id)) {
$current_user = wp_get_current_user();
if (!empty($current_user)) {
$field['content'] = $current_user->user_firstname;
The thing is that i don't know how to show the field's value for the Additional User Information