I'm attempting to use get_users to select users with only a certain meta value. In this case the meta key is extraInfo but the the values are in a serialized array. Can I pull users out like this? This is what I've been trying with no luck:
$meta_key = 'extraInfo[zip]';
$meta_value = $zip;
$query = get_users('meta_key='.$meta_key.'&meta_value='.$meta_value);
Aucun commentaire:
Enregistrer un commentaire