wxr_filter_postmeta( bool $return_me, string $meta_key ): bool
Determines whether to selectively skip post meta used for WXR exports.
Parameters
-
$return_me
bool Required -
Whether to skip the current post meta. Default false.
-
$meta_key
string Required -
Meta key.
Return
bool
Source
File: wp-admin/includes/export.php
.
View all references
function wxr_filter_postmeta( $return_me, $meta_key ) {
if ( '_edit_lock' === $meta_key ) {
$return_me = true;
}
return $return_me;
}
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |