Timeline for Checking if meta_value exists for any user
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 10, 2012 at 17:58 | comment | added | Andrei Iancu | Not sure I understand... Using get_users (which I didn't know about, thanks!), WP would need to return an array of all the users where the value for meta_key=Referral is not empty (which should never be the case) and then check that the randomly generated number is not equal to any of those in the array.. | |
Sep 10, 2012 at 17:37 | history | answered | westondeboer | CC BY-SA 3.0 |