WordPress action hook

wxr_importer.process_already_imported.comment

Fired by 12 WordPress plugins, running on 1.1M+ sites between them.

“Comment processing already imported.”

How to use wxr_importer.process_already_imported.comment

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'wxr_importer.process_already_imported.comment', function( $comment ) {
	// 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.

12 plugins that fire wxr_importer.process_already_imported.comment

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 do_action( 'wxr_importer.process_already_imported.comment', $comment ) inc/lib/starter-templates-importer/importer/wxr-importer.php:1480
  2. Jupiter X Core icon Jupiter X Core70,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) includes/control-panel-2/includes/class-wxr-importer.php:1275
  3. Demo Importer Plus icon Demo Importer Plus10,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) inc/importers/wxr-importer/class-wxr-importer.php:1557
  4. Responsive Starter Templates icon Responsive Starter Templates10,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) includes/importers/wxr-importer/class-wxr-importer.php:1538
  5. ThemeHunk Customizer icon ThemeHunk Customizer6,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) import/core/importer/class-wxr-importer.php:1320
  6. Hunk Companion icon Hunk Companion5,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) import/core/importer/class-wxr-importer.php:1320
  7. Ashe Extra icon Ashe Extra2,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) includes/importers/wxr-importer.php:1307
  8. Zita Site Library for Elementor icon Zita Site Library for Elementor1,000+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) importer/class-wxr-importer.php:1320
  9. Vayu Blocks icon Vayu Blocks900+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) inc/vayu-sites/core/importer/class-wxr-importer.php:1382
  10. Z Companion icon Z Companion200+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) import/importer/class-wxr-importer.php:1320
  11. LQThemes Companion icon LQThemes Companion40+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) inc/templates-importer/wxr-importer/class-wxr-importer.php:1323
  12. WPHobby Demo Import icon WPHobby Demo Import10+ installs do_action( 'wxr_importer.process_already_imported.comment', $comment ) includes/importers/wxr-importer/class-wxr-importer.php:1320

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.