apply_filters( 'woocommerce_exporter_product_types', array $product_types )

Allow third-parties to filter the exportable product types.


Description Description


Parameters Parameters

$product_types

The product type key and label.

  • 'Product'
    (string) type key - eg 'variable', 'simple' etc.
  • 'A'
    (string) translated product label which appears in the export product type dropdown.


Top ↑

Source Source

File: includes/admin/class-wc-admin-exporters.php


Top ↑

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.