I have a custom field, which its value is an wp array..
and I am trying to get the posts filtering by this custom field, the problem is that the value its an array and my code its not working..
here it is the last try:
$args = array(
'orderby' => 'title',
'post_type' => 'need',
'meta_key' =>'institution',
'meta_value'=> '.$institutionId.');
$donations = get_posts($args);
I've tried meta_query too but it didn't work too :(
edited:
I've archived the solution I've wanted to. but I can answer my question now.. so i will post the answer when I'll be able too