WordPress at Your Fingertips
filter is not described

woocommerce_data_stores filter-hook . WC 1.0

Tells WC_Data_Store which object (coupon, product, order, etc) store we want to work with.

Usage

add_filter( 'woocommerce_data_stores', 'filter_function_name_2381' );
function filter_function_name_2381( $object_type ){
	// filter...

	return $object_type;
}
$object_type(string)
Name of object.

Where the hook is called

WC_Data_Store::__construct()
woocommerce_data_stores
woocommerce/includes/class-wc-data-store.php 82
$this->stores      = apply_filters( 'woocommerce_data_stores', $this->stores );

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-admin/src/API/Init.php 42
add_filter( 'woocommerce_data_stores', array( __CLASS__, 'add_data_stores' ) );