wxr_export_skip_commentmeta WordPress Filter Hook
The wxr_export_skip_commentmeta hook allows you to filter out comment metadata from the WordPress export file. This can be useful if you want to reduce the file size or make the export file more readable.
apply_filters( 'wxr_export_skip_commentmeta', bool $skip , string $meta_key , object $meta ) #
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
- $skip
(bool)Whether to skip the current comment meta. Default false.
- $meta_key
(string)Current meta key.
- $meta
(object)Current meta object.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |