Not sure exactly what you mean by meta fields. Do you mean something like data stored in Post Meta, or User Meta? Or something else? 🙂
Hi Paul, cheers for the quick response.
I’m assuming it’s user meta. Basically, I’m wanting to add the user achievements information to their profile page. I’ve downloaded a plugin that allows me to add custom fields (it’s a premium plugin) and it’s asking for meta fields, I can add custom ones. There are already a couple from your plugin in the list that it populates itself, these are:
Just a quick update, it’s definitely user_meta that is required.
As of v3.4.1:
// The total of how many achievements that this user has unlocked (int)
// The user’s points total (int)
// User’s pending notifications (array)
// The ID of the last achievement this user unlocked (int)
I strongly suggest you don’t show _dpa_notifications or _dpa_last_unlocked as those are internal. If you show the other two, make them read-only to avoid users’ cheating. 🙂
- The topic ‘meta fields?’ is closed to new replies.