A user meta in WordPress is a set of distinct, different, and customized text fields for each user according to his or her preferences. In other words, WordPress user meta allows you to add whatever information you wish about your users. Update_user_meta() is the function you use to add or update a user's metadata. It looks as follows:
update_user_meta( $user_id, $meta_key, $meta_value, $prev_value );
Here,
Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.
Get Started
Comments
Leave a Comment