WordPress action hook
wie_after_import
Fired by 6 WordPress plugins, running on 1.2M+ sites between them.
How to use wie_after_import
It's an action: your callback runs at that point. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'wie_after_import', function() {
// Your code runs here.
}, 10, 1 );Argument names come from Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
6 plugins that fire wie_after_import
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg1+ million installs
do_action( 'wie_after_import' )inc/importers/class-astra-widget-importer.php:294 -
Widget Importer & Exporter200,000+ installs
do_action( 'wie_after_import' )includes/import.php:422 -
Demo Importer Plus10,000+ installs
do_action( 'wie_after_import' )inc/importers/class-demo-importer-plus-widget-importer.php:231 -
Anant Sites1,000+ installs
do_action( 'wie_after_import' )includes/class-ananta-sites.php:682 -
Simple Theme Demo Importer Plugin50+ installs
do_action( 'wie_after_import' )simple-theme-demo-importer.php:450 -
LQThemes Companion40+ installs
do_action( 'wie_after_import' )inc/templates-importer/class-widgets-importer.php:260
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.