apply_filters( ‘wxr_export_skip_termmeta’, bool $skip, string $meta_key, object $meta )

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

Description

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

Parameters

$skipbool
Whether to skip the current piece of term meta. Default false.
$meta_keystring
Current meta key.
$metaobject
Current meta object.

Source

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

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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