Fires immediately after deleting post or comment metadata of a specific type.
The dynamic portion of the hook name, $meta_type, refers to the meta object type (post or comment).
Possible hook names include:
deleted_postmetadeleted_commentmetadeleted_termmetadeleted_usermeta$meta_idint
do_action( "deleted_{$meta_type}meta", $meta_id );
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deleted_meta_typemeta