wxr_export_skip_postmeta WordPress Filter Hook

The wxr_export_skip_postmeta hook allows you to specify which postmeta data should not be exported when using the WordPress export tool. This can be useful if you want to exclude certain data from being exported.

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 on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.