Skip to main content

If you have to add many fields you have to add to query

        $query->query_vars['meta_query'][] = array(
            'key'     => 'KEY',
            'value'   => $_GET['FIELD'],
            'compare' => 'LIKE'
        );

If you have to add many fields you have to add to query

        $query->query_vars['meta_query'][] = array(
            'key'     => 'KEY',
            'value'   => $_GET['FIELD'],
            'compare' => 'LIKE'
        );

If you have to add many fields you have to add to query

$query->query_vars['meta_query'][] = array(
    'key'     => 'KEY',
    'value'   => $_GET['FIELD'],
    'compare' => 'LIKE'
);
Source Link

If you have to add many fields you have to add to query

        $query->query_vars['meta_query'][] = array(
            'key'     => 'KEY',
            'value'   => $_GET['FIELD'],
            'compare' => 'LIKE'
        );