Uma área de pesquisa sobre o WordPress para devs e autores do tema



updated_postmeta ›

Desde2.9.0
Obsoleton/a
do_action( 'updated_postmeta', $meta_id, $object_id, $meta_key, $meta_value )
Parâmetros: (4)
  • (int) $meta_id ID of updated metadata entry.
    Required: Yes
  • (int) $object_id Post ID.
    Required: Yes
  • (string) $meta_key Meta key.
    Required: Yes
  • (mixed) $meta_value Meta 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
Definido em:
Codex:

Fires immediately after updating a post's metadata.





Fonte

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