Determines whether to selectively skip post meta used for WXR exports.
Parameters
$return_me
boolrequired- Whether to skip the current post meta. Default false.
$meta_key
stringrequired- Meta key.
Source
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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.