do_action( 'update_postmeta', int $meta_id , int $object_id , string $meta_key , mixed $meta_value )
Fires immediately before updating a post’s metadata.
Description Description
Parameters Parameters
- $meta_id
-
(int) ID of metadata entry to update.
- $object_id
-
(int) Object ID.
- $meta_key
-
(string) Meta key.
- $meta_value
-
(mixed) Meta value.
Source Source
File: wp-includes/meta.php
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |