wpseek.com
A WordPress-centric search engine for devs and theme authors



updated_postmeta › WordPress Action Hooks

Since2.9.0
Deprecatedn/a
do_action( 'updated_postmeta', $meta_id, $object_id, $meta_key, $meta_value )
Parameters: (4)
  • (int) $meta_id ID of updated metadata entry.
    Required: Yes
  • (int) $object_id Post ID.
    Required: Yes
  • (string) $meta_key Metadata key.
    Required: Yes
  • (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.
    Required: Yes
Defined at:
Codex:

Fires immediately after updating a post's metadata.





Source

do_action( 'updated_postmeta', $meta_id, $object_id, $meta_key, $meta_value );