Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/meta.php | do_action | 525 | /** * Fires immediately after 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: * * - `deleted_post_meta` * - `deleted_comment_meta` * - `deleted_term_meta` * - `deleted_user_meta` * * @since 2.9.0 * * @param string[] $meta_ids An array of metadata entry IDs to delete. * @param int $object_id ID of the object metadata is for. * @param string $meta_key Metadata key. * @param mixed $_meta_value Metadata value. */ |
wp-includes/meta.php | do_action | 1062 | /** * Fires immediately before 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: * * - `delete_postmeta` * - `delete_commentmeta` * - `delete_termmeta` * - `delete_usermeta` * * @since 3.4.0 * * @param int $meta_id ID of the metadata entry to delete. */ |
wp-includes/meta.php | do_action | 1083 | /** * 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_postmeta` * - `deleted_commentmeta` * - `deleted_termmeta` * - `deleted_usermeta` * * @since 3.4.0 * * @param int $meta_id Deleted metadata entry ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $meta_ids | 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. |
string[] | $meta_ids | 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. |
string[] | $meta_ids | 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. |