woocommerce_data_stores filter-hookWC 1.0

Usage

add_filter( 'woocommerce_data_stores', 'wp_kama_woocommerce_data_stores_filter' );

/**
 * Function for `woocommerce_data_stores` filter-hook.
 * 
 * @param  $stores 
 *
 * @return 
 */
function wp_kama_woocommerce_data_stores_filter( $stores ){

	// filter...
	return $stores;
}
$stores
-

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 the hook is used in WooCommerce

woocommerce/src/Admin/API/Init.php 46
add_filter( 'woocommerce_data_stores', array( __CLASS__, 'add_data_stores' ) );