Skip to content
Matej Bašić edited this page Sep 21, 2018 · 2 revisions

Hooks

Here is the preview of all the hooks in the plugin.

Models

Hook Type Description
nwsi_include_order_item_keys_from_database filter Should the plugin try to extract keys from woocommerce_order_itemmeta database table and include them in the list of the model's property keys.
nwsi_order_item_property_keys filter Add or remove order item's property keys.
nwsi_get_order_item_property_key_{property_name} filter Return a value for order item's property.
nwsi_include_order_keys_from_database filter Should the plugin try to extract keys from postmeta (filtered by post_type=shop_order) database table and include them in the list of the model's property keys.
nwsi_order_property_keys filter Add or remove order's property keys.
nwsi_get_order_property_key_{property_name} filter Return a value for given order's property.
nwsi_include_product_keys_from_database filter Should the plugin try to extract keys from postmeta (filtered by post_type=product OR product_variation) database table and include them in the list of the model's property keys.
nwsi_product_property_keys filter Add or remove product's property keys.
nwsi_get_product_property_key_{property_name} filter Return a value for product's property.
Clone this wiki locally