Product Import Export for WooCommerce 2.6.9 has 19 actions and 107 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Product Import Export for WooCommerce fires an action
add_action( 'wt_iew_custom_action_basic', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Product Import Export for WooCommerce is about to use
add_filter( 'wpml_setting', function( $value, $arg2 ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
wpml_setting
filter/** * WPML */ apply_filters( 'wpml_setting', false, 'setup_complete' ); -
wt_bfcm_banner_screens
filter/** * Pages to show this black friday and cyber monday banner for 2026. */ apply_filters( 'wt_bfcm_banner_screens', array() ); -
/** * Alter export data before writing to file. */ apply_filters( 'wt_iew_alter_export_data_basic', $export_data, $offset, $is_last_offset, $file_as, $this->to_export, $csv_delimiter ); -
/** * Filter to modify the import file before processing. */ apply_filters( 'wt_iew_alter_import_file_basic', $out['file_name'], $file_path ); -
/** * default mapping page fields Format: 'field_key'=>array('title'=>'', * 'description'=>'') */ apply_filters( 'wt_iew_importer_alter_meta_mapping_fields_basic', $meta_mapping_screen_fields, $this->to_import, $form_data_meta_mapping_fields ); -
wt_iew_skip_sanitize_item
filter/** * Allow skipping sanitization for the current item. */ apply_filters( 'wt_iew_skip_sanitize_item', false, $val, $type ); -
/** * Force URL imports to use only WordPress safe remote requests. */ apply_filters( 'wt_iew_url_import_safe_http_only', true ); -
apply_filters( 'wt_import_export_allowed_capability', 'import' ); -
active_plugins
filterapply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'wpml_element_language_details', null, $get_language_args ); -
apply_filters( 'hf_export_image_metadata_flag', true ); -
apply_filters( 'wt_alter_product_reviews_export_csv_columns', $export_columns ); -
wt_iew_allow_html_form_data
filterapply_filters( 'wt_iew_allow_html_form_data', false, $key ); -
apply_filters( 'wt_iew_allowed_product_review_statuses', $comment_statuses ); -
wt_iew_custom_action_basic
actiondo_action( 'wt_iew_custom_action_basic' ); -
apply_filters( 'wt_iew_exporter_keep_encoding', true ); -
apply_filters( 'wt_iew_exporter_post_types_basic', array() ); -
apply_filters( 'wt_iew_importer_alter_mapping_fields_basic', $mapping_fields, $this->to_import, $form_data_mapping_fields ); -
apply_filters( 'wt_iew_importer_post_types_basic', array() ); -
apply_filters( 'wt_import_csv_parser_keep_bom', true ); -
apply_filters( 'wt_tags_csv_product_post_columns', array( 'term_id' => 'term_id', 'name' => 'name', 'slug' => 'slug', 'description' => 'description', ) ); -
alter_review_export_fields
filterapply_filters( 'alter_review_export_fields', array( 'comment_ID' => '', 'comment_post_ID' => '', 'comment_author' => '', 'comment_author_url' => '', 'comment_author_email' => '', 'comment_author_IP' => '', 'comment_date' => '', 'comment_date_gmt' => '', 'comment_content' => '', 'comment_approved' => '', 'comment_parent' => '', 'user_id' => '', 'comment_alter_id' => '', 'rating' => '', ) ); -
apply_filters( 'hf_alter_product_export_csv_columns', $export_columns ); -
apply_filters( 'product_reviews_csv_product_export_args', $args ); -
apply_filters( 'product_reviews_csv_product_post_columns', array( 'comment_ID' => 'comment_ID', 'comment_post_ID' => 'comment_post_ID', 'comment_author' => 'comment_author', 'comment_author_email' => 'comment_author_email', 'comment_author_url' => 'comment_author_url', 'comment_author_IP' => 'comment_author_IP', 'comment_date' => 'comment_date', 'comment_date_gmt' => 'comment_date_gmt', 'comment_content' => 'comment_content', 'comment_approved' => 'com... ); -
apply_filters( 'product_reviews_csv_product_postmeta_allowed', array( 'rating' => array(1,2,3,4,5), 'verified' => array(0,1) ) ); -
apply_filters( 'product_reviews_csv_product_postmeta_defaults', array( 'rating' => '', 'verified' => '', 'title' => '' ) ); -
apply_filters( 'taxonomies_csv_product_post_columns', array( 'term_id' => 'term_id', 'name' => 'name', 'slug' => 'slug', 'description' => 'description', 'display_type' => 'display_type', 'parent' => 'parent', 'parent_slug' => 'parent_slug', 'thumbnail' => 'thumbnail', ) ); -
apply_filters( 'woocommerce_csv_product_export_args', $args ); -
apply_filters( 'woocommerce_csv_product_import_reserved_fields_pair', $post_columns ); -
apply_filters( 'woocommerce_csv_product_review_import_reserved_fields_pair', array( 'comment_ID' => array('title'=>'Comments ID','description'=>'ID of the comments'), 'product_SKU' => array('title'=>'Product SKU','description'=>'Product SKU'), 'comment_post_ID' => array('title'=>'Comment Post ID','description'=>'ID of the product, on which the comment is done'), 'comment_author' => array('title'=>'Comments Author Name','description'=>'The author name, who made comments'... ); -
apply_filters( 'woocommerce_csv_tags_import_reserved_fields_pair', array( 'term_id' => array('title' => 'Tag term ID', 'description' => 'Tag term ID'), 'name' => array('title' => 'Name', 'description' => 'Name of the tag'), 'slug' => array('title' => 'Slug', 'description' => 'Slug of the tag'), 'description' => array('title' => 'Description', 'description' => 'Description of the tag'), ) ); -
apply_filters( 'woocommerce_csv_taxonomies_import_reserved_fields_pair', array( 'term_id' => array('title' => 'Taxonomy term ID', 'description' => 'Taxonomy term ID'), 'name' => array('title' => 'Name', 'description' => 'Name of the taxonomy'), 'slug' => array('title' => 'Slug', 'description' => 'Slug of the taxonomy'), 'description' => array('title' => 'Description', 'description' => 'Description of the taxonomy'), 'display_type' => array('title' => 'Display type',... ); -
apply_filters( "woocommerce_taxonomy_args_{$taxonomy_name}", array( 'labels' => array( 'name' => $raw_name, ), 'hierarchical' => true, 'show_ui' => false, 'query_var' => true, 'rewrite' => false, ) ); -
apply_filters( "woocommerce_taxonomy_objects_{$taxonomy_name}", array('product') ); -
wpml_element_type
filterapply_filters( 'wpml_element_type', 'post_product' ); -
do_action( 'wpml_set_element_language_details', $set_language_args ); -
apply_filters( "wt_{$plugin_id}_alter_role_access_basic", $roles ); -
apply_filters( 'wt_allow_custom_rendered_image', true ); -
apply_filters( 'wt_alter_product_categories_export_csv_data', $row, $term->term_id, $csv_columns ); -
apply_filters( 'wt_alter_product_reviews_export_csv_data', $row, $comment->ID, $csv_columns ); -
apply_filters( 'wt_alter_product_tags_export_csv_data', $row, $term->term_id, $csv_columns ); -
apply_filters( 'wt_batch_product_export_row_data', $row, $product ); -
apply_filters( 'wt_categories_csv_product_post_columns', array( 'term_id' => 'term_id', 'name' => 'name', 'slug' => 'slug', 'description' => 'description', 'parent' => 'parent', 'parent_slug' => 'parent_slug', 'thumbnail' => 'thumbnail', ) ); -
apply_filters( 'wt_category_thumbnail_allowed_image_extensions', array('jpg', 'jpeg', 'png', 'gif') ); -
wt_clean_product_options
filterapply_filters( 'wt_clean_product_options', true ); -
do_action( 'wt_coupon_addon_basic_help_content' ); -
apply_filters( 'wt_ier_disable_mapping_fields', array( 'aov', 'total_spent') ); -
wt_ier_include_bom_in_csv
filterapply_filters( 'wt_ier_include_bom_in_csv', $this->use_bom ); -
apply_filters( "wt_iew_{$type}_settings_tabhead_basic", $title_arr ); -
apply_filters( 'wt_iew_advanced_setting_fields_basic', $fields ); -
do_action( 'wt_iew_after_advanced_setting_update_basic', $new_advanced_settings ); -
apply_filters( 'wt_iew_allowed_categories_sort_columns', $sort_columns ); -
apply_filters( 'wt_iew_allowed_product_review_sort_columns', array_combine($sort_columns, $sort_columns) ); -
apply_filters( 'wt_iew_allowed_product_sort_columns', $sort_columns ); -
apply_filters( 'wt_iew_allowed_product_statuses', array_combine($product_statuses, $product_statuses) ); -
wt_iew_allowed_product_types
filterapply_filters( 'wt_iew_allowed_product_types', $allowed_product_types ); -
wt_iew_allowed_screens_basic
filterapply_filters( 'wt_iew_allowed_screens_basic', $screens ); -
apply_filters( 'wt_iew_allowed_tags_sort_columns', $sort_columns ); -
apply_filters( 'wt_iew_alter_product_bulk_export_csv_columns', $row ); -
wt_iew_bfcm_inline_render
actiondo_action( 'wt_iew_bfcm_inline_render' ); -
apply_filters( 'wt_iew_debug_panel_buttons_basic', $debug_panel_btns, $module_base ); -
apply_filters( 'wt_iew_export_full_form_data_basic', $form_data, $to_process, $step, $this->selected_template_data ); -
apply_filters( 'wt_iew_exporter_alter_advanced_fields_basic', $advanced_screen_fields, $this->to_export, $advanced_form_data ); -
apply_filters( 'wt_iew_exporter_alter_default_batch_count_basic', $this->default_batch_count, $this->to_export, $form_data ); -
apply_filters( 'wt_iew_exporter_alter_filter_fields_basic', $filter_screen_fields, $this->to_export, $filter_form_data ); -
apply_filters( 'wt_iew_exporter_alter_mapping_enabled_fields_basic', $mapping_enabled_fields, $this->to_export, array() ); -
apply_filters( 'wt_iew_exporter_alter_mapping_fields_basic', $mapping_fields, $this->to_export, $form_data_mapping_fields ); -
apply_filters( 'wt_iew_exporter_alter_meta_mapping_fields_basic', $meta_mapping_screen_fields, $this->to_export, $form_data_meta_mapping_fields ); -
wt_iew_exporter_before_head
actiondo_action( 'wt_iew_exporter_before_head' ); -
apply_filters( 'wt_iew_exporter_do_export_basic', $export_data, $to_process, $step, $form_data, $this->selected_template_data, $this->export_method, $offset ); -
apply_filters( 'wt_iew_exporter_file_into_fields_row_id_basic', $file_int_field_tr_arr ); -
do_action( 'wt_iew_exporter_file_into_js_fn_basic' ); -
apply_filters( 'wt_iew_exporter_remote_adapter_names_basic', $remote_adapter_names ); -
wt_iew_exporter_steps_basic
filterapply_filters( 'wt_iew_exporter_steps_basic', $this->steps, $this->to_export ); -
apply_filters( 'wt_iew_import_full_form_data_basic', $form_data, $to_process, $step, $this->selected_template_data ); -
apply_filters( 'wt_iew_importer_alter_advanced_fields_basic', $advanced_screen_fields, $this->to_import, $advanced_form_data ); -
apply_filters( 'wt_iew_importer_alter_default_batch_count_basic', $this->default_batch_count, $to_process, $form_data ); -
apply_filters( 'wt_iew_importer_alter_mapping_enabled_fields_basic', $mapping_enabled_fields, $this->to_import, array() ); -
apply_filters( 'wt_iew_importer_alter_method_import_fields_basic', $method_import_screen_fields, $this->to_import, $method_import_form_data ); -
wt_iew_importer_before_head
actiondo_action( 'wt_iew_importer_before_head' ); -
apply_filters( 'wt_iew_importer_decimal_columns', array('price', 'regular_price', '_regular_price', 'sale_price', '_sale_price') ); -
apply_filters( 'wt_iew_importer_do_import_basic', $input_data['data_arr'], $to_process, $step, $form_data, $this->selected_template_data, $this->import_method, $offset_count, $is_last_offset ); -
do_action( 'wt_iew_importer_file_from_js_fn' ); -
apply_filters( 'wt_iew_importer_remote_adapter_names_basic', $remote_adapter_names ); -
do_action( 'wt_iew_importer_reset_form_data_basic' ); -
do_action( 'wt_iew_importer_set_validate_file_info' ); -
apply_filters( 'wt_iew_importer_skip_from_evaluation', array('post_title', 'description', 'post_content', 'short_description', 'post_excerpt') ); -
wt_iew_importer_steps_basic
filterapply_filters( 'wt_iew_importer_steps_basic', $this->steps, $this->to_import ); -
do_action( 'wt_iew_importer_validate_basic' ); -
do_action( 'wt_iew_plugin_out_settings_form' ); -
wt_iew_plugin_settings_form
actiondo_action( 'wt_iew_plugin_settings_form' ); -
apply_filters( 'wt_iew_product_brand_taxonomies', array() ); -
apply_filters( 'wt_iew_product_bulk_export_args', $product_args ); -
apply_filters( 'wt_iew_product_bulk_export_attribute_data', $found_attributes ); -
apply_filters( 'wt_iew_product_bulk_export_csv_data', $row, $product->ID, $header_row ); -
apply_filters( 'wt_iew_product_bulk_export_image_metadata', TRUE ); -
apply_filters( 'wt_iew_product_bulk_export_product_filename', 'product_export_' . gmdate('Y-m-d-h-i-s') . '.csv' ); -
wt_iew_product_post_columns
filterapply_filters( 'wt_iew_product_post_columns', $post_columns ); -
wt_iew_remote_adapters_basic
filterapply_filters( 'wt_iew_remote_adapters_basic', $adapters, $action, $adapter ); -
wt_iew_validate_file_basic
filterapply_filters( 'wt_iew_validate_file_basic', $out, $file_from, $method_import_form_data ); -
apply_filters( 'wt_iew_woocommerce_csv_product_bulk_product_columns', $post_columns ); -
apply_filters( 'wt_iew_wpml_use_suppress_filters', false ); -
apply_filters( 'wt_openai_product_description_tone', 'formal' ); -
do_action( 'wt_order_addon_basic_help_content' ); -
do_action( 'wt_product_addon_basic_help_content' ); -
wt_use_wc_rest_upload
filterapply_filters( 'wt_use_wc_rest_upload', true ); -
do_action( 'wt_user_addon_basic_help_content' ); -
apply_filters( 'wt_woocommerce_csv_export_limit_per_request', $batch_count ); -
apply_filters( 'wt_woocommerce_product_categories_importer_pre_parse_data', $data ); -
do_action( 'wt_woocommerce_product_import_before_process_item', $data ); -
apply_filters( 'wt_woocommerce_product_import_get_product_object', $product, $data ); -
apply_filters( 'wt_woocommerce_product_import_image_separator', $default_separator ); -
do_action( 'wt_woocommerce_product_import_inserted_product_object', $object, $data ); -
apply_filters( 'wt_woocommerce_product_import_pre_insert_product_object', $object, $data ); -
apply_filters( 'wt_woocommerce_product_import_process_item_data', $data ); -
apply_filters( 'wt_woocommerce_product_importer_allow_post_author_from_import_file', false ); -
apply_filters( 'wt_woocommerce_product_importer_pre_parse_data', $mapped_data ); -
apply_filters( 'wt_woocommerce_product_review_importer_pre_parse_data', $data ); -
apply_filters( 'wt_woocommerce_product_tags_importer_pre_parse_data', $data ); -
wt_wpml_import_post_meta_key
filterapply_filters( 'wt_wpml_import_post_meta_key', $meta['key'] );
Generated from Product Import Export for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: