wxr_export_skip_termmeta WordPress Filter Hook
The wxr_export_skip_termmeta hook is used to filter whether term meta data should be exported. This hook is useful for those who want to limit the data that is exported from their WordPress site. For example, if you only want to export posts and not terms, you can use this hook to skip exporting term meta data.
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
- $skip
(bool)Whether to skip the current piece of term meta. Default false.
- $meta_key
(string)Current meta key.
- $meta
(object)Current meta object.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |