Support

Account

Home Forums Backend Issues (wp-admin) WP Query – Multiple values in ACF Checkbox Reply To: WP Query – Multiple values in ACF Checkbox

  • 
    $values = get_field('status', $post_id);
    foreach ($values as $value) {
      
    }
    

    other than that everything else is basically the same.

    I am in the habit of always building this type of filter for any field that I may need to search by, even when there is not immediate plan to do so. They are quick to do, in fact I more or less have a standard filters that simply does it for all of a specific field type and appends “_wp” to whatever the field name is. standard filters will not work for repeaters though, but I do have a function that I feed in the repeater name and the sub field name I want to make it quicker.