I am trying to get woocommerce
custom product attribute terms "Brand" image url/path with JSON Data for the REST API. Now Return like this,
{
"id": 751,
"name": "Garnier",
"slug": "garnier",
"description": "",
"menu_order": 0,
"count": 0,
"_links": {
"self": [
{
"href": "https://exmple.com/wp-json/wc/v2/products/attributes/13/terms/751"
}
],
"collection": [
{
"href": "https://exmple.com/wp-json/wc/v2/products/attributes/13/terms"
}
]
}
}`
I am using ACF plugin, custom field for brand image.
Is it possible return image src with JSON DATA?
Thanks!