WordPress filter hook
wie_import_results
Fired by 9 WordPress plugins, running on 1.2M+ sites between them.
How to use wie_import_results
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wie_import_results', function( $results ) {
// Change $results here.
return $results;
}, 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.
9 plugins that fire wie_import_results
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
apply_filters( 'wie_import_results', $results )inc/importers/class-astra-widget-importer.php:299 -
Widget Importer & Exporter200,000+ installs
apply_filters( 'wie_import_results', $results )includes/import.php:425 -
Demo Importer Plus10,000+ installs
apply_filters( 'wie_import_results', $results )inc/importers/class-demo-importer-plus-widget-importer.php:233 -
Responsive Starter Templates10,000+ installs
apply_filters( 'wie_import_results', $results )includes/importers/class-responsive-ready-sites-widgets-importer.php:286 -
Anant Sites1,000+ installs
apply_filters( 'wie_import_results', $results )includes/class-ananta-sites.php:685 -
Theme One Click Demo Importer400+ installs
apply_filters( 'wie_import_results', $results )inc/core/classes/class-theme404-ocdi-core.php:572 -
RealPress400+ installs
apply_filters( 'wie_import_results', $results )app/Controllers/SetupWizardController.php:379 -
Simple Theme Demo Importer Plugin50+ installs
apply_filters( 'wie_import_results', $results )simple-theme-demo-importer.php:452 -
LQThemes Companion40+ installs
apply_filters( 'wie_import_results', $results )inc/templates-importer/class-widgets-importer.php:263
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.