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

In this article

Filters whether to selectively skip comment 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 comment meta. Default false.
$meta_keystring
Current meta key.
$metaobject
Current meta object.

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

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