WordPress at a glance
action is not described

deleted_(meta_type)_meta action-hook . WP 2.9.0

Fires immediately after deleting metadata of a specific type.

The dynamic portion of the hook name, $meta_type, refers to the meta object type (comment, post, term, or user).


add_action( 'deleted_(meta_type)_meta', 'action_function_name_2783', 10, 4 );
function action_function_name_2783( $meta_ids, $object_id, $meta_key, $meta_value ){
	// action...
An array of deleted metadata entry IDs.
Object ID.
Meta key.
Meta value.

Where the hook is called

wp-includes/meta.php 433
do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value );
wp-includes/meta.php 810
do_action( "deleted_{$meta_type}_meta", (array) $meta_id, $object_id, $meta->meta_key, $meta->meta_value );

Where the hook is used (in WP core)

wp-includes/default-filters.php 95
add_action( 'deleted_post_meta', 'wp_cache_set_posts_last_changed' );
wp-includes/default-filters.php 100
add_action( 'deleted_term_meta', 'wp_cache_set_terms_last_changed' );
wp-includes/default-filters.php 113
add_action( 'deleted_comment_meta', 'wp_cache_set_comments_last_changed' );