apply_filters( 'wxr_export_skip_postmeta', bool $skip, string $meta_key, object $meta )

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


Description

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


Top ↑

Parameters

$skip bool
Whether to skip the current post meta. Default false.
$meta_key string
Current meta key.
$meta object
Current meta object.

Top ↑

Source

File: wp-admin/includes/export.php. View all references

if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) {


Top ↑

Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.