Un motore di ricerca WordPress per sviluppatori e autori di temi



update_postmeta ›

Da2.9.0
Deprecaton/a
do_action( 'update_postmeta', $meta_id, $object_id, $meta_key, $meta_value )
Parametri: (4)
  • (int) $meta_id ID of metadata entry to update.
    Richiesto:
  • (int) $object_id Post ID.
    Richiesto:
  • (string) $meta_key Meta key.
    Richiesto:
  • (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.
    Richiesto:
Definito a:
Codex:

Fires immediately before updating a post's metadata.





Sorgenti

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