WordPress开发者和主题制作者的搜索引擎



deleted_{$meta_type}_meta ›

Since2.9.0
已弃用n/a
do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value )
参数: (4)
  • (array) $meta_ids An array of deleted metadata entry IDs.
    Required: Yes
  • (int) $object_id Object ID.
    Required: Yes
  • (string) $meta_key Meta key.
    Required: Yes
  • (mixed) $_meta_value Meta value.
    Required: Yes
定义在:
文档:

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).





源码

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