deleted_postmeta action-hook . WP 2.9.0
Fires immediately after deleting metadata for a post.
Usage
add_action( 'deleted_postmeta', 'action_function_name_4976' ); function action_function_name_4976( $meta_ids ){ // action... }
- $meta_ids(string[])
- An array of metadata entry IDs to delete.
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
deleted_postmeta
wp-includes/meta.php 474
do_action( 'deleted_postmeta', $meta_ids );