How: fill $people array based upon query
-
I am looking into this plugin and trying it out for one of my websites I am working on. I have noticed that you are storing all the users from WordPress into an array attached to the heading of a post/page.
Would it also be possible to fill the array in another way? E.g. based upon a query for all users with a specific role and/or authorization?
E.g. something like this:
$people = SELECT id from users where usermetafield = 'cat-manager'
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How: fill $people array based upon query’ is closed to new replies.