woocommerce_product_importer_formatting_callbacks
Usage
add_filter( 'woocommerce_product_importer_formatting_callbacks', 'wp_kama_woocommerce_product_importer_formatting_callbacks_filter', 10, 2 ); /** * Function for `woocommerce_product_importer_formatting_callbacks` filter-hook. * * @param $callbacks * @param $that * * @return */ function wp_kama_woocommerce_product_importer_formatting_callbacks_filter( $callbacks, $that ){ // filter... return $callbacks; }
- $callbacks
- -
- $that
- -
Where the hook is called
woocommerce_product_importer_formatting_callbacks
woocommerce/includes/import/class-wc-product-csv-importer.php 823
return apply_filters( 'woocommerce_product_importer_formatting_callbacks', $callbacks, $this );