Support

Account

Home Forums General Issues Need query help for multiple checkbox values Reply To: Need query help for multiple checkbox values

  • 
    $meta_query_args = [
      'relation' => 'AND',
      [
        'key' => 'color,
        'value' => '"red"',
        'compare' => 'LIKE',
      ],
      [
        'key' => 'color,
        'value' => '"orange"',
        'compare' => 'LIKE',
      ],
    ];