On this page
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
$skipbool-
Whether to skip the current comment meta. Default false.
$meta_keystring-
Current meta key.
$metaobject-
Current meta object.
Source
File: wp-admin/includes/export.php. View all references
if ( apply_filters( 'wxr_export_skip_commentmeta', false, $meta->meta_key, $meta ) ) {
Related
Used By
| Used By | Description |
|---|---|
| export_wp() wp-admin/includes/export.php | Generates the WXR export file for download. |
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wxr_export_skip_commentmeta