[API] Improved product attribute terms params
This commit is contained in:
parent
19b4319ad4
commit
7adafc77c9
|
@ -2964,8 +2964,8 @@ class WC_API_Products extends WC_API_Resource {
|
||||||
|
|
||||||
$attribute_term = array(
|
$attribute_term = array(
|
||||||
'id' => $term->term_id,
|
'id' => $term->term_id,
|
||||||
'slug' => $term->slug,
|
|
||||||
'name' => $term->name,
|
'name' => $term->name,
|
||||||
|
'slug' => $term->slug,
|
||||||
'count' => $term->count,
|
'count' => $term->count,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue