woocommerce_product_csv_importer_steps

woocommerce_product_csv_importer_steps

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_product_csv_importer_steps') is found 1 times:

  • /includes/admin/importers/class-wc-product-csv-importer-controller.php line 148
    				'handler' => '',
    			),
    		);
    
    		$this->steps = apply_filters( 'woocommerce_product_csv_importer_steps', $default_steps );
    
    		// phpcs:disable WordPress.Security.NonceVerification.Recommended
    		$this->step               = isset( $_REQUEST['step'] ) ? sanitize_key( $_REQUEST['step'] ) : current( array_keys( $this->steps ) );
    		$this->file               = isset( $_REQUEST['file'] ) ? wc_clean( wp_unslash( $_REQUEST['file'] ) ) : '';
    		$this->update_existing    = isset( $_REQUEST['update_existing'] ) ? (bool) $_REQUEST['update_existing'] : false;
    		$this->delimiter          = ! empty( $_REQUEST['delimiter'] ) ? wc_clean( wp_unslash( $_REQUEST['delimiter'] ) ) : ',';