> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/developers/actions/add_woo_product_data_to_acpt_list.md).

# add\_woo\_product\_data\_to\_acpt\_list

Filters the list of WooCommerce product data entries before they are returned

**Type:** Filter

Filters the list of WooCommerce product data entries before they are returned by the internal fetch query.

### Parameters

| Parameter | Type    | Description              |
| --------- | ------- | ------------------------ |
| `$data`   | `array` | The product data entries |

**Return:** `array` — the (optionally modified) product data entries.

### Usage

```php
add_filter("add_woo_product_data_to_acpt_list", function(array $data){
    // modify or extend $data
    return $data;
});
```
