deleted_postmeta WordPress Action Hook
The deleted_postmeta Wordpress hook is fired when a post's meta data is deleted. This hook is useful for plugins that need to perform an action when a post's meta data is deleted.
do_action( 'deleted_postmeta', string[] $meta_ids ) #
Fires immediately after deleting metadata for a post.
Parameters
- $meta_ids
(string[])An array of metadata entry IDs to delete.
Source
File: wp-includes/meta.php
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |