Importing
Importing is done by uploading an export file created by the plugin. The results of an import are shown in a nicely formatted table with an explanation of what happened with each widget area and widget.
Importation takes into consideration widget areas not existing in the current theme (widgets imported as Inactive), widgets that already exist in the same widget area (widgets not duplicated) and widgets that are not supported by the site (widgets not imported).
Exporting
Widget Importer & Exporter can create an export file (in JSON format with .wie extension) out of currently active widgets. This file can be imported into other sites using this plugin or used to restore widgets to the same site later.
Developers
The wie_before_import
action fires after a file is uploaded but before the data is imported. wie_after_import
fires after the data is imported. The wie_import_data
filter can be used to filter data before it is imported. Other filters are used throughout. Make a pull request on GitHub if you need another hook.
Please jump on to report issues and follow development.
SOURCE: WORDPRESS.ORG
THU HUYỀN – LINKPIZ.COM
ORIGINAL LINK