Class WC_Tax_Rate_Importer

WP_Importer
Extended by WC_Tax_Rate_Importer
Package: WooCommerce\Admin\Importers
Author: WooThemes
Located at includes/admin/importers/class-wc-tax-rate-importer.php

Methods summary

public
# __construct( )

__construct function.

__construct function.

public
# dispatch( )

Registered callback function for the WordPress Importer

Registered callback function for the WordPress Importer

Manages the three separate stages of the CSV import process

public string
# format_data_from_csv( mixed $data, string $enc )

format_data_from_csv function.

format_data_from_csv function.

Parameters

$data
mixed
$data
$enc
string
$enc

Returns

string
public
# import( mixed $file )

import function.

import function.

Parameters

$file
mixed
$file
public
# import_end( )

Performs post-import cleanup of files and the cache

Performs post-import cleanup of files and the cache

public boolean
# handle_upload( )

Handles the CSV upload and initial parsing of the file to prepare for displaying author import options

Handles the CSV upload and initial parsing of the file to prepare for displaying author import options

Returns

boolean
False if error uploading or invalid file, true otherwise
public
# header( )

header function.

header function.

public
# footer( )

footer function.

footer function.

public
# greet( )

greet function.

greet function.

public integer
# bump_request_timeout( integer $val )

Added to http_request_timeout filter to force timeout at 60 seconds during import

Added to http_request_timeout filter to force timeout at 60 seconds during import

Parameters

$val
integer
$val

Returns

integer
60

Magic methods summary

Properties summary

public mixed $id
#
public mixed $file_url
#
public mixed $import_page
#
public mixed $delimiter
#
public array $posts
#
public mixed $imported
#
public mixed $skipped
#
WooCommerce API documentation generated by ApiGen 2.8.0