do_action( 'updated_postmeta', int $meta_id, int $object_id, string $meta_key, mixed $meta_value )

Fires immediately after updating a post’s metadata.

Parameters Parameters


(int) ID of updated metadata entry.


(int) Post ID.


(string) Metadata key.


(mixed) Metadata value. This will be a PHP-serialized string representation of the value if the value is an array, an object, or itself a PHP-serialized string.

Top ↑

Source Source

File: wp-includes/meta.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.