WordPress filter hook · part of WordPress core
wxr_export_skip_postmeta
A WordPress core filter that 24 plugins also fire themselves, running on 11.9M+ sites between them.
“Filters whether to selectively skip post meta used for WXR exports.”
How to use wxr_export_skip_postmeta
It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wxr_export_skip_postmeta', function( $value, $meta_key, $meta ) {
// Change $value here.
return $value;
}, 10, 3 );Argument names come from Elementor Agent Ready Website Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
24 plugins that fire wxr_export_skip_postmeta
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Elementor Agent Ready Website Builder10+ million installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )core/utils/import-export/wp-exporter.php:538 -
WPvivid900,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/class-wpvivid-exporter.php:1129 -
Blocksy Companion300,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )framework/features/demo-install/export/content-export.php:603 -
Formidable Forms300,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )classes/views/xml/posts_xml.php:58 -
Modula Image Gallery100,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/admin/importer/class-modula-importer-exporter.php:122 -
Beaver Builder Page Builder100,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/export.php:406 -
Kubio AI Page Builder80,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )lib/src/DemoSites/WXRExporter.php:284 -
Strong Testimonials80,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )admin/class-strong-testimonials-debug.php:158 -
BetterDocs30,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/Admin/XMLExporter.php:553 -
WPS Menu Exporter10,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )classes/plugin.php:321 -
LearnPress5,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )inc/admin/providers/learnpress/xml/lp-export-item.php:63 -
Export Featured Images1,000+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )admin/wpefi-admin.php:385 -
Select Post Export400+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/select-post-export-class.php:86 -
Kata Plus300+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/backend/wp-export.php:609 -
RSVPMaker200+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )export.php:658 -
Mattytap Sermons70+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/admin/export/class-sm-export-sm.php:400 -
Scientific and Interactive Blocks70+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/export.php:671 -
Livewords Flow10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )admin/xml.php:461 -
T2 Export10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/export_wp.php:415 -
Advanced Exporter Importer10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )libs/exporter-trait.php:327 -
New Post Automatic XML Backup by Email10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )export-tools.php:95 -
cm4all-wp-impex10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )inc/impex-export-extension-content.php:480 -
Bubok Publisher10+ installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )export.php:319 -
BPOTech Export Specific PostFewer than 10 installs
apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta )includes/export-specific-post.php:702
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.