I have a where clause that is in an array, I am having a problem where i need service.active = 1 to also possible match 2,3 or 4.
I am not sure how to do this in an array. So i wanted:
service.active = 1 OR service.active = 2 OR service.active 3 OR service.active = 4
at the moment i can only get it to work by 'service.active' => 1,
#Get the data
$services = get_services(array(
'service.id' => $service_id, //Service we are trying to get
'service.active' => 1, //Active services only
'service.owner_id' => $userid, //Just to be sure another user isn't trying to get a service that isn't theirs
));