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:

functions.php
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.

  1. Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg icon 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
  2. Widget Importer & Exporter icon Widget Importer & Exporter200,000+ installs apply_filters( 'wie_import_results', $results ) includes/import.php:425
  3. Demo Importer Plus icon Demo Importer Plus10,000+ installs apply_filters( 'wie_import_results', $results ) inc/importers/class-demo-importer-plus-widget-importer.php:233
  4. Responsive Starter Templates icon Responsive Starter Templates10,000+ installs apply_filters( 'wie_import_results', $results ) includes/importers/class-responsive-ready-sites-widgets-importer.php:286
  5. Anant Sites icon Anant Sites1,000+ installs apply_filters( 'wie_import_results', $results ) includes/class-ananta-sites.php:685
  6. Theme One Click Demo Importer icon Theme One Click Demo Importer400+ installs apply_filters( 'wie_import_results', $results ) inc/core/classes/class-theme404-ocdi-core.php:572
  7. RealPress icon RealPress400+ installs apply_filters( 'wie_import_results', $results ) app/Controllers/SetupWizardController.php:379
  8. Simple Theme Demo Importer Plugin icon Simple Theme Demo Importer Plugin50+ installs apply_filters( 'wie_import_results', $results ) simple-theme-demo-importer.php:452
  9. LQThemes Companion icon 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.