How can get all users by current user meta?


I have a block system to make users block each other, My question is how to get all users by current user meta by the array?

When current user is blocked anther user it’s saved as meta like this: a:1:{i:0;s:1:"3";} so user ID 1 block user ID 3.

So I need to make a specific page to get all users that the current user is blocked by checking current user meta blocking_users‘ to get the blocked users from it.

Any idea example how can make it?

, , Yogu 7 years 2017-06-03T02:33:53-05:00 0 Answers 90 views 0

Leave an answer