Delete user meta ( delete_user_meta ) by key without user id


I am new at WordPress. I am not sure is it possible or not that if I want to delete user metadata by passing the only key.
for example:

delete_user_meta( $key );

But looks like required a user id. Is there any other way to work like this?

Emtiaz Zahid 2 months 0 Answers 13 views 0

Leave an answer