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:
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.
-
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 -
Jupiter X Core70,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )includes/control-panel-2/includes/class-wxr-importer.php:1275 -
Demo Importer Plus10,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )inc/importers/wxr-importer/class-wxr-importer.php:1557 -
Responsive Starter Templates10,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )includes/importers/wxr-importer/class-wxr-importer.php:1538 -
ThemeHunk Customizer6,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )import/core/importer/class-wxr-importer.php:1320 -
Hunk Companion5,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )import/core/importer/class-wxr-importer.php:1320 -
Ashe Extra2,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )includes/importers/wxr-importer.php:1307 -
Zita Site Library for Elementor1,000+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )importer/class-wxr-importer.php:1320 -
Vayu Blocks900+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )inc/vayu-sites/core/importer/class-wxr-importer.php:1382 -
Z Companion200+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )import/importer/class-wxr-importer.php:1320 -
LQThemes Companion40+ installs
do_action( 'wxr_importer.process_already_imported.comment', $comment )inc/templates-importer/wxr-importer/class-wxr-importer.php:1323 -
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.