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



attachment_updated › WordPress动作钩子

Since4.4.0
已弃用n/a
› do_action( 'attachment_updated', $post_id, $post_after, $post_before )
参数: (3)
  • () post_id Post ID.
    Required: Yes
  • () post_after Post object following the update.
    Required: Yes
  • () post_before Post object before the update.
    Required: Yes
定义在:
文档:

Fires once an existing attachment has been updated.





源码

do_action( 'attachment_updated', $post_id, $post_after, $post_before );