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



deleted_{$meta_type}meta › WordPress动作钩子

Since3.4.0
已弃用n/a
› do_action( "deleted_{$meta_type}meta", $meta_id )
参数:
  • () meta_id Deleted metadata entry ID.
    Required: Yes
定义在:
文档:

Fires immediately after deleting post or comment metadata of a specific type.

The dynamic portion of the hook name, `$meta_type`, refers to the meta object type (post or comment). Possible hook names include: - `deleted_postmeta` - `deleted_commentmeta`




源码

do_action( "deleted_{$meta_type}meta", $meta_id );