Reference › Hooks do_action( "deleted_{$meta_type}meta" , int $meta_id )
Since 3.4.0 Description Parameters Fired at Source History Fires immediately after deleting post or comment metadata of a specific type.
Description The dynamic portion of the hook name, $meta_type, refers to the meta object type (post or comment). Possible hook names include: <ul> <li>deleted_postmeta</li> <li>deleted_commentmeta</li> </ul>
Parameters
$meta_idint Deleted metadata entry ID. Fired at · 1 wp-includes/meta.php:1118delete_metadata_by_mid() Source View on Trac ↗ View on GitHub ↗
1112 * - `deleted_commentmeta` 1113 * 1114 * @since 3.4 .0 1115 * 1116 * @param int $meta_id Deleted metadata entry ID . 1117 * / 1118 do_action ( "deleted_{ $meta_type } meta" , $meta_id ) ; 1119 } 1120 1121 return $result ; 1122 1123 } 1124 History Introduced in 3.4.0 . Unchanged from 6.7.7 through 7.1.0.
6.7.7 6.8.8 6.9.7 7.0.4 7.1.0 Signature, return type and hooks compared across 5 parsed releases.
About this page Parsed data Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. Corrections Something wrong on this page? Report it and it gets fixed in the next regeneration.