Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

What is proper way to store info such as user marking a post as favorite? In post meta or user meta?

What is proper way to store info such as user marking a post as favorite? In post meta or user meta?

Related Posts:

  1. cannot get user_registered date from get_user_meta
  2. How to order posts by the user_login that corresponds to a meta_value (which is a user id)?
  3. Sort users by custom user meta value
  4. If the current user is an administrator or editor
  5. Editor can create any new user except administrator
  6. How do I add a field on the Users profile? For example, country, age etc
  7. How do I display logged-in username IF logged-in?
  8. How to allow an user role to create a new user under a role which lower than his level only?
  9. user_login vs. user_nicename
  10. How to programatically change username (user_login)?
  11. Change the Author Slug from Username to Nickname
  12. Remove Ability for Other Users to View Administrator in User List?
  13. Difference between update_user_meta and update_user_option
  14. Make display name unique
  15. Make WooCommerce pages accessible for logged in users only
  16. Find out if logged in user is not subscriber
  17. WordPress usermeta scaling for thousands of users
  18. How to get WordPress Username in Array format
  19. Display user registration date
  20. Get multiple roles with get_users
  21. get_user_meta() doesn’t include user email?
  22. Confirmation required on email change
  23. How to Merge Two Authors Into One?
  24. Whats the best way to share user data across multiple WordPress websites?
  25. get_current_user_id() returns 0?
  26. How to get userid at wp_logout action hook?
  27. Groups of capabilities: users with multiple roles?
  28. Is there a way to merge two users?
  29. User-edit role setting distinct from wp_capabilities? [closed]
  30. List users by last name in WP_User_Query
  31. What’s the difference between the capability remove_users and delete_users?
  32. How to restrict access to uploaded files?
  33. Automatically delete inactive users after 2 months
  34. How to change user_login with wp-cli?
  35. Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
  36. Email user when password is reset by admin
  37. Replacing the WordPress password validation
  38. Ban a user and end their session
  39. Allowing users to edit only their page and nobody else’s
  40. How can 2 blogs share the same users
  41. alphabetically order role drop-down selection in dashboard
  42. WordPress auto login after registration not working
  43. Change the author slug from nickname to ID
  44. Execute a function when admin changes the user role
  45. How to let contributors to create a new revision(draft) editing their published posts
  46. how to use joomla password format in wordpress?
  47. How to do get_users() with multiple meta_keys
  48. Disallowing Users of a Custom Role from Deleting or Adding Administrators?
  49. What the user_status column?
  50. How to limit users to one comment per post
  51. Different back-end language for different users?
  52. Hide Admin Menu for Specific User ID who has administrator Role
  53. Migrating WordPress users into Disqus
  54. Problem with Hebrew characters in username
  55. Is there an upper limit for users in WP?
  56. How to display the status of users (online – offline) in archive.php
  57. Remove email verification when new user register
  58. How to change user`s avatar?
  59. How to set up User email verification after Signup?
  60. Allow up to 5 Concurrent Login Sessions
  61. How to let user set password on registration
  62. How to hide media uploads by other users in the Media menu?
  63. Show admin bar only for some USERS roles
  64. How to display custom user meta from registration in backend?
  65. Allowing an email as the username?
  66. How to work around “that email address has already been used” error?
  67. Get the name of user who updated post
  68. Disable delete user
  69. Grouping users under parent user
  70. How to get the Gravityform entry ID from current user’s form submission? [closed]
  71. Retrieve all users from wordpress database via REST/JSON API
  72. Is there a way to set a user profile to Draft?
  73. Display edit link if post author is current user
  74. Check if specific username is logged in
  75. Best way to send users password?
  76. Limiting the number of users
  77. How can I get users email (and additional data) from the rest API?
  78. Force display name as full name
  79. Get users with atleast one post
  80. edit profile validation refreshes all field if missing wordpress
  81. How to update user role without logout
  82. How to hide “Filter user list” from “All Users” screen
  83. How to create a template for a custom URI associated with the user
  84. How to order users alphabetically by their last name?
  85. How to check user role without using current_user_can()
  86. How can I run a WP-CLI command as authenticated user?
  87. Why are user address fields required [closed]
  88. How to create a public profile for authors/contributors/users?
  89. Post list based on the user that is logged in
  90. ‘username_exists’ still returns an ID even after deleting record from the database?
  91. Importing users? From another wordpress site
  92. Change user’s display name programmatically
  93. How to discover and delete unused accounts?
  94. Extending WP_User class and using this sub-class during the whole lifecycle
  95. Multi-steps WordPress registration : in 4 steps how to?
  96. Allow guests to save favourite pages?
  97. Why does is_user_logged_in() return false after redirect from another site?
  98. Basic auth WordPress REST API dilemma
  99. Do not allow users to create new posts and pages
  100. Wp_User_Query not sorting by meta key
Categories users Tags post-meta, users
Merging two databases without borking it
Is nonce in PHP form and Ajax both necessary?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress