$where='valid.meta_value > "'.date('Y-m-d',strtotime('-1 days')).'" AND t.post_title LIKE "%'.$search.'%"';
// 'where' => 't.post_title LIKE "%' . $keyword . '%" OR my_field.meta_value LIKE "%' . $keyword . '%"'
// $where = 'valid.meta_value > "' . date('Y-m-d', strtotime('-1 days')) . '" AND t.post_title LIKE "%' . $searchQuery . '%"';
$where='valid.meta_value > "'.date('Y-m-d',strtotime('-1 days')).'" AND (t.post_title LIKE "%'.searchQuery.'%" OR t.post_content LIKE "%'.searchQuery.'%")';
$where='valid.meta_value > "'.date('Y-m-d',strtotime('-1 days')).'" AND (t.post_title LIKE "%'.searchQuery.'%" OR t.post_content LIKE "%'.searchQuery.'%")';