WordPress action hook
wxr_importer.process_failed.termmeta
Fired by 6 WordPress plugins, running on 241K+ sites between them.
How to use wxr_importer.process_failed.termmeta
It's an action: your callback runs at that point and receives 4 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'wxr_importer.process_failed.termmeta', function( $result, $meta_item, $term_id, $term ) {
// Your code runs here.
}, 10, 4 );Argument names come from Kadence Starter Templates's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
6 plugins that fire wxr_importer.process_failed.termmeta
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Kadence Starter Templates200,000+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )wxr-importer/WXRImporter.php:1898 -
aThemes Starter Sites30,000+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )import/wp-content-importer-v2/WXRImporter.php:1902 -
Animation Addons for Elementor10,000+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )inc/admin/base/AaeaddonWXRImporter.php:2072 -
Theme One Click Demo Importer400+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )inc/core/classes/importer/class-wxr-importer.php:1730 -
Academy Starter Templates300+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )includes/library/awesomemotive/wxr-importer.php:1924 -
Codegear Starter50+ installs
do_action( 'wxr_importer.process_failed.termmeta', $result, $meta_item, $term_id, $term )import/wp-content-importer-v2/WXRImporter.php:1902
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.