The second parameter in get_user_meta
is optional, so you can retrieve all user meta like this (code tested quickly in my install):
$cu = get_current_user_id ();
$um = get_user_meta ($cu);
var_dump ($um);
This would also include meta fields that are hidden on the user profile page.
Related Posts:
- How can I add an image field to BuddyPress Extended Profile Fields? [closed]
- How to add custom fields to my custom registration form
- Change label for registration Fields
- Add Link to Users List (Backend) to open each users front-end profile
- Showing user profile data on front-end
- How to display custom field in woocommerce orders in admin panel?
- Adding fields to the “Add New User” screen in the dashboard
- How to check if a user exists by a given id
- Programatically add options to “add new” custom field dropdown
- Use author author display name in permalink structure for pages and posts
- Is it safe to store a user setting you don’t want the user to ever modify as a user option?
- Logout redirect to current page – function
- How to paginate the get_users function?
- How to add first name & last name to default registration form?
- How to display random users with avatars
- How to manually activate user in dashboard only by admin
- Add new user : make the fields First Name and Last name required
- Enabling shortcodes for custom fields
- User Profile / Add Custom Fields
- wp_delete_user with username
- Add options to featured image
- Change labels on ‘Nickname’ and ‘Biographical Info’ in user-edit.php
- Order get_users() by last login date. Is it possible?
- Authors details such as social media links, emails etc → Is this Meta or something else?
- How can I tell when a user is logged in?
- how to get and display logged in user’s recently read posts
- Displaying a random user with a shortcode
- Assign category using custom field?
- Function to Download External Images to My Site
- How to update BuddyPress xprofile fields programmatically? [closed]
- How to detect first visit of a user?
- Add description text under input field for new profile fields
- Can I pass two roles to the function get_users?
- How can I default to all WordPress roles when parameter is not included in shortcode?
- Checked() showing up twice in custom fields
- Create dropdown of users in admin dashboard
- password protected post policy
- How to use max and min values of custom fields
- Woocommerce Storefront WordPress Ignore Media Gallery Images and use External 3rd Party Host
- Remove the deleted users avatar from list
- Customizer field value into functions.php variable
- Get Current User info using wp_localize_script, in functions.php
- WordPress User Profile Upload – If page is saved file reset
- Auto delete post if certain custom field data is empty
- create shortcode to list users with specific meta key value
- How to hide unused profile fields?
- Don’t delete a page if it holds users
- How to show a gloabl message on a user profile page (in back end)?
- How to make custom column Admin>Users sortable?
- How to display custom option field in woocommerce orders in admin panel?
- Execute a ultimate member action when user role is updated
- How to add a slide toggle to the Woocommerce-Layout__Activity-Panel area in the orders admin page
- How to force field validation first, then its values saved durning edit profile?
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- What WordPress function to use to get meta value by using meta keys?
- Force to use STRONG users password and implement rule to prevent REUSE [closed]
- Removing custom meta data
- Custom Attachment Caption Fields
- Default Custom Field Value Automatically Update
- WordPress function saves a post twice and updates all posts
- ACF not showing
- How to retrieve the values of a sub-field in the first and last row of an (ACF) repeater inside function?
- Condition OR for current user ID
- How to get correct value from checked()?
- Prevent custom field from being updated after first publish
- Custom Behavior when Adding New Custom Post Type in Dashboard
- How to Use Global Variables Inside Header and Footer
- Secondary Menu and Logged In Users
- Why get_user_by() doesn’t work in my code?
- Programmatically add Yoast meta description after post save
- Filter to wp_list_authors
- Hide tab Buddypress profile for visitors, not logged in users
- Insert Address fields into function
- How to add array [closed]
- How to make custom comment fields required
- Suggest Users basing on User taxonomy
- How add body_class from wp_termmeta
- How do I display a date correctly that is stored in the database as a backwards 8 digit number from Advanced Custom Fields? [closed]
- Sort and display pages with specific custom field (not tag)
- shorthand syntax for custom fields
- Modify function to only return values for the user that’s logged in
- Fill empty custom field with other custom field
- loginout function customization
- User meta and public function security
- call wp_insert_user in custom class doesnt work
- Get users with different roles and call function on each of them (user_meta)
- Perform function on publish AND save (not just save)
- Show errormessages on wrong username/password on custom loginform?
- How can I show different content for different user-levels?
- Custom user role still showing up after deletion, ideas?
- referencing the current user in a page i created in wordpress
- How to parse a huge list of users using a CRON function?
- How to Display WooCommerce Product Price in WooCommerce Archive
- How to change text color depending on the number value (Using javascript)
- Show metadata in users.php – wordpress
- wp_set_object_term via js btn frontend
- Populate Product Regular Price with a calculated ACF Field Value
- Deleting guests profile users after 1.5 hours
- wp_get_current_user return ID = 0 when used outside of wordpress, such as webhook / fulfillment dialogflow
- Allow user only create specific tags