Get custom myCRED user metadata
-
This is going to be a little bit of a strange question.
I am working on my own plugin and it has some myCRED integration. I am looking for user metadata and want to use the
get_user_meta
function to grab a few values.More specifically, I noticed that the
mycred_comment_limit_post
value looks something like this:a:5:{i:121;i:1;i:1887;i:1;i:20551;i:1;i:20834;i:1;i:31621;i:1;}
My question is (and this is the strange part), is it possible for me to get only the
31621
part of that value? If yes, then how?I am still learning about user metadata and how it works so apologies if this is a newbie question.
- The topic ‘Get custom myCRED user metadata’ is closed to new replies.