wxr_export_skip_commentmeta filter-hook . WP 4.0.0
Filters whether to selectively skip comment meta used for WXR exports.
Returning a truthy value from the filter will skip the current meta object from being exported.
Usage
add_filter( 'wxr_export_skip_commentmeta', 'filter_function_name_6093', 10, 3 ); function filter_function_name_6093( $skip, $meta_key, $meta ){ // filter... return $skip; }
- $skip(true/false)
- Whether to skip the current comment meta.
Default: false - $meta_key(string)
- Current meta key.
- $meta(object)
- Current meta object.
Changelog
Since 4.0.0 | Introduced. |
Where the hook is called
wxr_export_skip_commentmeta
wp-admin/includes/export.php 650
if ( apply_filters( 'wxr_export_skip_commentmeta', false, $meta->meta_key, $meta ) ) {