Blog

ACF Integration

Posted by:

You are here:
< Back

To create custom fields that retrieve information from ACF (advanced custom field) you need to use the_field function. An easy template that you can use is this one:

return the_field('your_field_name',$order->get_id());

Replace “your_field_name” for the name/id (not the label) of the field that you want to retrieve, example:

0
  Related Posts
  • No related posts found.

Add a Comment