You can check the user meta for the key you want:
if ( get_user_meta('phone') !='' ) {
echo "Your phone is not set";
}
else {
comment_form();
}
You can check the user meta for the key you want:
if ( get_user_meta('phone') !='' ) {
echo "Your phone is not set";
}
else {
comment_form();
}