deleted_termmeta action-hookWP 3.4.0

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

This is one of the variants of the dynamic hook deleted_(meta_type)meta

Usage

add_action( 'deleted_termmeta', 'wp_kama_deleted_termmeta_action' );

/**
 * Function for `deleted_termmeta` action-hook.
 * 
 * @param int $meta_ids Deleted metadata entry ID.
 *
 * @return void
 */
function wp_kama_deleted_termmeta_action( $meta_ids ){

	// action...
}
$meta_ids(int)
Deleted metadata entry ID.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.