WordPress at a glance
function is not described

unregister_post_meta() WP 4.9.8

Unregisters a meta key for posts.

No Hooks.


true/false. True on success, false if the meta key was not previously registered.


unregister_post_meta( $post_type, $meta_key );
$post_type(string) (required)
Post type the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing post types.
$meta_key(string) (required)
The meta key to unregister.

Code of unregister post meta: wp-includes/post.php WP 5.2.2

function unregister_post_meta( $post_type, $meta_key ) {
	return unregister_meta_key( 'post', $meta_key, $post_type );