woocommerce_product_import_before_import
Использование
add_action( 'woocommerce_product_import_before_import', 'wp_kama_woocommerce_product_import_before_action' ); /** * Function for `woocommerce_product_import_before_import` action-hook. * * @param $parsed_data * * @return void */ function wp_kama_woocommerce_product_import_before_action( $parsed_data ){ // action... }
- $parsed_data
- -
Где вызывается хук
woocommerce_product_import_before_import
woocommerce/includes/import/class-wc-product-csv-importer.php 1124
do_action( 'woocommerce_product_import_before_import', $parsed_data );