The function is <?php get_user_meta($user_id, $key, $single); ?>
The $single is a boolean that returns a single value for true or an array if set to false, in your case you would set it to false.
$user_output = get_user_meta($user_id, 'fbasics', false);
var_dump($user_output);
Related Posts:
- Adding fields to the “Add New User” screen in the dashboard
- Authors details such as social media links, emails etc → Is this Meta or something else?
- Search user metadata with checkboxes via ajax (almost working)
- Calling a function from anywhere, used in different places
- create shortcode to list users with specific meta key value
- Last Login in number of days format
- Why is functions.php file in child not initializing and over-writing parent?
- Update user meta of author when post content is viewed
- is_author(get_current_user_id()) returns false when author id and user id match
- Adding an option to a shortcode
- Need To Change WordPress Meta Tags… Includes wordpress shortcodes
- wp_usermeta – Read from database, but save function broken
- Function that prevents users from uploading photos more photos
- Function to pull data from user meta not working
- User meta and public function security
- Get users with different roles and call function on each of them (user_meta)
- Message notification for user
- Auto copy value from specific user meta field to another field
- delete_user_meta for user in spesific group
- How can I include user meta information in the resulting array of a WP_User_Query?
- update_usermeta don’t work
- How to Update User Meta Field other than from profile?
- Dynamically Generating User Meta Field
- User’s Comments Number: Storing it in a meta field for different uses
- How to add a data attribute to a WordPress menu item
- Order posts (across the whole site) by metadata date
- Functions.php code that only runs on localhost?
- hook a functions to change wp-config from functions.php
- Relative URLs and hide /wp-content/themes/
- Disable visual editor on one specific page
- Shared functions.php across multiple WordPress websites
- How to restrict actions and filters “properly” by conditions
- Extending auth_cookie_expiration based on user role
- Check if the user has explicitly set an excerpt
- How to display random users with avatars
- Can the wp-plugins (Must Use Plugins) URL be targeted for use in functions.php?
- In a WordPress plugin, how do you output HTML code inside the DOM header? [closed]
- Slugs as breadcrumbs for Pages
- Different ‘WP_CONTENT_URL’ for different subsites in Multisite setup?
- Linking thumbnail to full size image
- Removing Unnecessary Text from Admin Menu without CSS
- Add inline css to theme
- Shortcode with custom content attribute?
- Add a Post Thumbnail to an RSS Feed with custom size
- Display WordPress Search
- Automatically add author’s name to post_tag
- Print Dashboard menu name and link
- Remove_filter (‘the_content’, ‘wpautop’) is not working
- Preferred Use of home_url()?
- Develop function get_template_part in functions.php
- Functions.php reverted to new one
- Where does function_exists() look to decide whether a function exists? [closed]
- Get page slug and assign a variable within functions.php
- Change comment_reply_link URL
- Ajaxing function in widget class
- Clean-up script tags
- Make “sidebar template” the default template for new pages
- Custom roles can’t access to wp-admin
- Refactor create_function
- Super simple shortcode not working
- WordPress function for 1 to for many
- Logic to Print/echo a css class only for 1st post and ignore all post after 1st? [closed]
- Attach parent category template to all subcategories
- How to insert a text in all pages and posts before or after specific places?
- Add class or ID to any WordPress function
- How to filter out shortcode when displaying the_excerpt() in the loop?
- Using “Read More” link with custom excerpt
- How can you limit srcset on a single type of page?
- Remove Font-Awesome MaxCDN Link & Load Locally
- How to remove howdy dropdown menu content
- Change Admin Bar “Visit Site” URL
- exclude a category from a search on a specific page
- How to fix Warning: call_user_func_array()?
- Stop turning small dashes into longer ones
- what function can I use to automatically output og tags per page/post?
- How to get specified parent page title in my function
- Execute function after a post has been published
- Last updated date function
- Possible to display shortcode based on the category?
- Add error message on password protected page ONLY when password introduced was incorrect
- Select pages by category
- wp_register_script(… $in_footer = true) not working
- I want to get product attirbute in the section below
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- How to set default archive image without overriding first attached image? [closed]
- Toggle User Roles with button
- Restore Image Title Text
- Passing a variable via wp_head and then calling it on the page
- Load Woocommerce and WordPress Functions Outside
- How to make custom column Admin>Users sortable?
- Output and filter data from a XML url
- Where to start learning more about wordpress templates [closed]
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- How do I create a function that simulate the click on Update button for all posts?
- How to know which ajax file or function is called for action
- How to filter $content in shortcode function
- Multisite Ajax serialize return error [object Object]
- Full page template function
- Redirect from “private” page and functions.php which tag add to add_action()?
- PHP mixed with some JS code to update WordPress theme settings