For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

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

Last updated