I found the solution. Here is it:
add_action( 'elementor/query/acf_filter', function( $query ) {
$filtre = get_field( "category_filters" );
$query-> set('cat' , $filtre );
} );
I found the solution. Here is it:
add_action( 'elementor/query/acf_filter', function( $query ) {
$filtre = get_field( "category_filters" );
$query-> set('cat' , $filtre );
} );