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



deleted_{$meta_type}_meta ›

Seit2.9.0
Veraltetn/v
do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value )
Parameter: (4)
  • (array) $meta_ids An array of deleted metadata entry IDs.
    Erforderlich: Ja
  • (int) $object_id Object ID.
    Erforderlich: Ja
  • (string) $meta_key Meta key.
    Erforderlich: Ja
  • (mixed) $_meta_value Meta value.
    Erforderlich: Ja
Definiert in:
Codex:

Fires immediately after deleting metadata of a specific type.

The dynamic portion of the hook name, $meta_type, refers to the meta object type (comment, post, term, or user).





Quellcode

do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value );