WordPress at Your Fingertips
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 from the filter will skip the current meta object from being exported.


add_filter( 'wxr_export_skip_postmeta', 'filter_function_name_755', 10, 3 );
function filter_function_name_755( $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 616
if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) {

Where in WP core the hook is used WordPress

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