WPV_Widget_Import

Extends \WP_Importer

Methods

WPV_Widget_Import

WPV_Widget_Import() 

Registered callback function for the WordPress Importer

dispatch() 

Manages the three separate stages of the WXR import process

The main controller for the actual import stage.

import(string $file) 

Arguments

$file

string

Path to the WXR file for importing

import_widgets

import_widgets($file) 

Arguments

$file

Parses the WXR file and prepares us for the task of processing parsed data

import_start(string $file) 

Arguments

$file

string

Path to the WXR file for importing

Performs post-import cleanup of files and the cache

import_end() 

header

header() 

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

bump_request_timeout($imp) : int

Arguments

$imp

Response

int

60