Support

Account

Home Forums Add-ons Flexible Content Field filter posts by category Reply To: filter posts by category

  • Never mind – I worked it out.

    First:

    $catarray = get_sub_field(‘categories’);

    then:

    ‘category__in’ => $catarray,