delete_$meta_type_meta – action
Fires immediately before deleting metadata of a specific type. The dynamic portion of the hook name, `$meta_type`, refers to the meta object type (post, comment, term, user, or any other type with an associated meta table).
Possible hook names include:
– `delete_post_meta` – `delete_comment_meta` – `delete_term_meta` – `delete_user_meta`
Parameters
- .
- ( 3.1.0 ) . .
- $meta_ids
- ( string[] ) An array of metadata entry IDs to delete. . . .
- ( int ) $object_id ID of the object metadata is for. . . .
- ( string ) $meta_key Metadata key. . . .
- ( mixed ) $_meta_value Metadata value. . . .