WordPress filter hook
wxr_importer.pre_process.term
Fired by 27 WordPress plugins, running on 1.5M+ sites between them.
“Pre-process term data.”
How to use wxr_importer.pre_process.term
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wxr_importer.pre_process.term', function( $data, $meta ) {
// Change $data here.
return $data;
}, 10, 2 );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.pre_process.term
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
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/lib/starter-templates-importer/importer/wxr-importer.php:1875 -
Kadence Starter Templates200,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )wxr-importer/WXRImporter.php:1727 -
Jupiter X Core70,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/control-panel-2/includes/class-wxr-importer.php:1474 -
Starter Templates & Sites Pack by ThemeGrill70,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )src/Importers/WXRImporter/WXRImporter.php:1439 -
aThemes Starter Sites30,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )import/wp-content-importer-v2/WXRImporter.php:1732 -
Rara One Click Demo Import20,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/extras/class-wxr-importer.php:1628 -
Demo Importer Plus10,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/importers/wxr-importer/class-wxr-importer.php:1978 -
Animation Addons for Elementor10,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/admin/base/AaeaddonWXRImporter.php:1922 -
Responsive Starter Templates10,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/importers/wxr-importer/class-wxr-importer.php:1952 -
TemplateSpare10,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/companion/importer/class-wxr-importer.php:1683 -
AF Companion9,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/importer/class-wxr-importer.php:1630 -
Themebeez Toolkit8,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/demo-importer/importer/class-tt-importer-wxr-importer.php:1876 -
Masteriyo LMS6,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/StarterTemplates/Importers/WXRImporter/WXRImporter.php:1275 -
ThemeHunk Customizer6,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )import/core/importer/class-wxr-importer.php:1668 -
Hunk Companion5,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )import/core/importer/class-wxr-importer.php:1668 -
SKT Themes Demo Import4,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/importer/class-wxr-importer.php:1627 -
Ashe Extra2,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/importers/wxr-importer.php:1649 -
Zita Site Library for Elementor1,000+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )importer/class-wxr-importer.php:1668 -
Vayu Blocks900+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/vayu-sites/core/importer/class-wxr-importer.php:1730 -
Theme One Click Demo Importer400+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/core/classes/importer/class-wxr-importer.php:1589 -
Academy Starter Templates300+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/library/awesomemotive/wxr-importer.php:1750 -
Z Companion200+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )import/importer/class-wxr-importer.php:1668 -
Perfectwpthemes Toolkit100+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/demo-importer/importer/class-pwpt-importer-wxr-importer.php:1659 -
Codegear Starter50+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )import/wp-content-importer-v2/WXRImporter.php:1732 -
LQThemes Companion40+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )inc/templates-importer/wxr-importer/class-wxr-importer.php:1671 -
Mirrorgrid Demo Importer20+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/importer/class-mg-importer-wxr-importer.php:1641 -
WPHobby Demo Import10+ installs
apply_filters( 'wxr_importer.pre_process.term', $data, $meta )includes/importers/wxr-importer/class-wxr-importer.php:1668
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.