WordPress at Your Fingertips
action is not described

deleted_(meta_type)meta action-hook . WP 3.4.0

Fires immediately after deleting post or comment metadata of a specific type.

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


add_action( 'deleted_(meta_type)meta', 'action_function_name_9304' );
function action_function_name_9304( $meta_ids ){
	// action...
Deleted metadata entry ID.


Since 3.4.0 Introduced.

Where the hook is called

wp-includes/meta.php 986
do_action( "deleted_{$meta_type}meta", $meta_id );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 104
add_action( 'deleted_post_meta', 'wp_cache_set_posts_last_changed' );
wp-includes/default-filters.php 109
add_action( 'deleted_term_meta', 'wp_cache_set_terms_last_changed' );
wp-includes/default-filters.php 122
add_action( 'deleted_comment_meta', 'wp_cache_set_comments_last_changed' );
wp-includes/ms-default-filters.php 60
add_action( 'deleted_blog_meta', 'wp_cache_set_sites_last_changed' );