woocommerce_product_importer_before_set_parsed_data хук-событие . WC 1.0
Использование
add_action( 'woocommerce_product_importer_before_set_parsed_data', 'action_function_name_201', 10, 2 ); function action_function_name_201( $row, $mapped_keys ){ // action... }
- $row
- -
- $mapped_keys
- -
Где вызывается хук
woocommerce_product_importer_before_set_parsed_data
woocommerce/includes/import/class-wc-product-csv-importer.php 970
do_action( 'woocommerce_product_importer_before_set_parsed_data', $row, $mapped_keys );