Support

Account

Home › Forums › General Issues › Howto Inject Category Slug into get_field › Reply To: Howto Inject Category Slug into get_field

  • $categories = get_the_terms($post_id, 'product_cat');
    echo $categories;
    

    The above returns “Array”