do_action( 'delete_postmeta', string[] $meta_ids )

Fires immediately before deleting metadata for a post.

Parameters

$meta_ids

(string[]) An array of metadata entry IDs to delete.

Source

File: wp-includes/meta.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_postmeta