我有一个搜索输入,然后我想显示在多个meta_key. 我怎样才能做到?
这是我的code
$filter = array(
\'post_type\' => \'request\',
\'post_status\' => \'publish\',
\'posts_per_page\' => -1,
\'meta_query\' => array(
"relation" => "AND",
array(
\'key\' => array($key1, $key2, $key3),
\'value\' => $search_value,
\'compare\' => \'LIKE\',
)
)
);