Support

Account

Home Forums ACF PRO Meta query with array as values Reply To: Meta query with array as values

  • Ok, found a solution using
    https://support.advancedcustomfields.com/forums/topic/wp_query-using-meta_query-for-an-acf-checkbox-field/

    The following works :

    [meta_query] => Array
            (
                [relation] => OR
        
                [0] => Array
                    (
                        [key] => ciblages_ciblage_secteur
                        [value] => 373
                        [compare] => LIKE
                    )
    
                [1] => Array
                    (
                        [key] => ciblages_ciblage_secteur
                        [value] => 374
                        [compare] => LIKE
                    )
            )
    )