User Meta
User meta is metadata attached to a user account in WordPress.
It is used to store extra profile, preference, or configuration values beyond the default user fields.
What it does
User meta lets developers and plugins extend user records with additional structured data.
It is commonly used for:
- Profile details
- Preferences and settings
- Access-related flags
- Integration identifiers
- Plugin-specific account data
Core concepts
Metadata for users
User meta is one subtype of metadata in WordPress.
If the metadata belongs to a user account, it is user meta.
Custom fields on profiles
When a user profile is extended with a custom field, that value is often stored as user meta.
Tools such as ACF and Meta Box AIO can provide those profile-field interfaces.
Native WordPress functions
WordPress provides functions such as get_user_meta() and update_user_meta() for working with user meta in PHP.
Common use cases
- Extra fields on user profiles
- Preference and dashboard settings
- Membership or role-related flags
- CRM or external system IDs
- Team or author profile enhancements
Practical notes
- User meta belongs to the user account, not to a post or taxonomy term.
- It is often used by plugins to persist account-specific behavior and settings.
- Like other WordPress metadata types, it works best when keys are consistent and clearly scoped.
- User meta can support both editorial workflows and application logic.
Sources Used
- https://developer.wordpress.org/reference/functions/get_user_meta/
- https://developer.wordpress.org/reference/functions/update_user_meta/
Frequently Asked Questions
Is user meta the same as profile information?
Often yes in practice. User meta is the storage mechanism behind many extra profile fields and account settings.
Can custom fields be attached to users?
Yes. In WordPress, user profiles can be extended with custom fields that are stored as user meta.
Is user meta the same as post meta?
No. Post meta belongs to content objects, while user meta belongs to user accounts.