WordPress action hook
wxr_importer.processed.post
Fired by 27 WordPress plugins, running on 1.5M+ sites between them.
“Post processing completed.”
How to use wxr_importer.processed.post
It's an action: your callback runs at that point and receives 5 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'wxr_importer.processed.post', function( $post_id, $data, $meta, $comments, $terms ) {
// Your code runs here.
}, 10, 5 );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.
27 plugins that fire wxr_importer.processed.post
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.processed.post', $post_id, $data, $meta, $comments, $terms )inc/lib/starter-templates-importer/importer/wxr-importer.php:1114 -
Kadence Starter Templates200,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )wxr-importer/WXRImporter.php:997 -
Jupiter X Core70,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/control-panel-2/includes/class-wxr-importer.php:912 -
Starter Templates & Sites Pack by ThemeGrill70,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )src/Importers/WXRImporter/WXRImporter.php:924 -
aThemes Starter Sites30,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )import/wp-content-importer-v2/WXRImporter.php:1001 -
Rara One Click Demo Import20,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/extras/class-wxr-importer.php:937 -
Demo Importer Plus10,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/importers/wxr-importer/class-wxr-importer.php:1115 -
Animation Addons for Elementor10,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/admin/base/AaeaddonWXRImporter.php:1202 -
Responsive Starter Templates10,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/importers/wxr-importer/class-wxr-importer.php:1156 -
TemplateSpare10,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/companion/importer/class-wxr-importer.php:971 -
AF Companion9,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/importer/class-wxr-importer.php:939 -
Themebeez Toolkit8,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/demo-importer/importer/class-tt-importer-wxr-importer.php:1122 -
Masteriyo LMS6,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/StarterTemplates/Importers/WXRImporter/WXRImporter.php:830 -
ThemeHunk Customizer6,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )import/core/importer/class-wxr-importer.php:963 -
Hunk Companion5,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )import/core/importer/class-wxr-importer.php:963 -
SKT Themes Demo Import4,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/importer/class-wxr-importer.php:936 -
Ashe Extra2,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/importers/wxr-importer.php:950 -
Zita Site Library for Elementor1,000+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )importer/class-wxr-importer.php:962 -
Vayu Blocks900+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/vayu-sites/core/importer/class-wxr-importer.php:1025 -
Theme One Click Demo Importer400+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/core/classes/importer/class-wxr-importer.php:900 -
Academy Starter Templates300+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/library/awesomemotive/wxr-importer.php:1012 -
Z Companion200+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )import/importer/class-wxr-importer.php:962 -
Perfectwpthemes Toolkit100+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/demo-importer/importer/class-pwpt-importer-wxr-importer.php:960 -
Codegear Starter50+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )import/wp-content-importer-v2/WXRImporter.php:1001 -
LQThemes Companion40+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )inc/templates-importer/wxr-importer/class-wxr-importer.php:961 -
Mirrorgrid Demo Importer20+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/importer/class-mg-importer-wxr-importer.php:942 -
WPHobby Demo Import10+ installs
do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms )includes/importers/wxr-importer/class-wxr-importer.php:962
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.