wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



updated_postmeta › WordPress Action Hooks

Seit2.9.0
Veraltetn/v
do_action( 'updated_postmeta', $meta_id, $object_id, $meta_key, $meta_value )
Parameter: (4)
  • (int) $meta_id ID of updated metadata entry.
    Erforderlich: Ja
  • (int) $object_id Post ID.
    Erforderlich: Ja
  • (string) $meta_key Metadata key.
    Erforderlich: Ja
  • (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.
    Erforderlich: Ja
Definiert in:
Codex:

Fires immediately after updating a post's metadata.





Quellcode

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