Action hook 'updated_postmeta'

in WP Core File wp-includes/meta.php at line 350

Description

Fires immediately after updating a post's metadata.

Occurrences

Filename Line Number
wp-includes/meta.php 350
wp-includes/meta.php 962

Parameters

Type Name Description
int $meta_id ID of updated metadata entry.
int $object_id Post ID.
string $meta_key Metadata key.
mixed $meta_value 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.

PHP Doc

/**
			 * Fires immediately after updating a post's metadata.
			 *
			 * @since 2.9.0
			 *
			 * @param int    $meta_id    ID of updated metadata entry.
			 * @param int    $object_id  Post ID.
			 * @param string $meta_key   Metadata key.
			 * @param mixed  $meta_value 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.
			 */