Skip to content

Instantly share code, notes, and snippets.

@ibrahim-kardi
Created December 4, 2021 06:25
Show Gist options
  • Save ibrahim-kardi/803a85007b0b41c96bcad3ac76c55be8 to your computer and use it in GitHub Desktop.
Save ibrahim-kardi/803a85007b0b41c96bcad3ac76c55be8 to your computer and use it in GitHub Desktop.
plugins/tutor/templates/dashboard/my-profile.php, line 17 this
$phone = get_user_meta($uid,'phone_number',true); , need to replace with this fixed code , just prefix _ issue
$phone = get_user_meta($uid,'_phone_number',true); (edited)
ALso,
/wp-content/plugins/tutor/templates/dashboard/settings/profile.php, 126 line, need to change
<?php echo get_user_meta($user->ID,'_phone_number',true); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment