wxr_filter_postmeta() –

You appear to be a bot. Output may be restricted

Description

Determines whether to selectively skip post meta used for WXR exports.

Usage

$bool = wxr_filter_postmeta( $return_me, $meta_key );

Parameters

$return_me
( bool ) required – Whether to skip the current post meta. Default false.
$meta_key
( string ) required – Meta key.

Returns

bool

Source

File name: wordpress/wp-admin/includes/export.php
Lines:

1 to 6 of 6
  function wxr_filter_postmeta( $return_me, $meta_key ) {
    if ( '_edit_lock' === $meta_key ) {
      $return_me = true;
    }
    return $return_me;
  }
 

 View on GitHub View on Trac