Support

Account

Home Forums Front-end Issues Displaying custom field on woocommerce category page through functions.php Reply To: Displaying custom field on woocommerce category page through functions.php

  • You need to create an action or filter using one of the hooks used on WC template that you are trying to alter.

    In your action/filter you need to supply ACF with the second argument ($post_id) to get the field from the correct category.