更新帖子的元数据后立即触发。
原型
do_action( 'updated_postmeta', int $meta_id, int $object_id, string $meta_key, mixed $meta_value )
参数
$meta_id
(int)
更新的元数据条目的ID。
$object_id
(int)
对象ID。
$meta_key
(string)
元键。
$meta_value
(mixed)
元价值。
源文件
路径:wp-includes/meta.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/updated_postmeta/