delete_postmeta action-hook . WP 2.9.0
Fires immediately before deleting metadata for a post.
Usage
add_action( 'delete_postmeta', 'action_function_name_7259' ); function action_function_name_7259( $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
delete_postmeta
wp-includes/meta.php 431
do_action( 'delete_postmeta', $meta_ids );