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.

Top ↑

Return

bool


Top ↑

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;
}

Top ↑

Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.