WordPress at a glance
filter is not described

wxr_export_skip_postmeta filter-hook . WP 3.3.0

Filters whether to selectively skip post meta used for WXR exports.

Returning a truthy value to the filter will skip the current meta object from being exported.


add_filter( 'wxr_export_skip_postmeta', 'filter_function_name_6971', 10, 3 );
function filter_function_name_6971( $skip, $meta_key, $meta ){
	// filter...

	return $skip;
Whether to skip the current post meta.
Default: false
Current meta key.
Current meta object.


Since 3.3.0 Introduced.

Where the hook is called

wp-admin/includes/export.php 597
if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) {

Where the hook is used (in WP core)

wp-admin/includes/export.php 426
add_filter( 'wxr_export_skip_postmeta', 'wxr_filter_postmeta', 10, 2 );