wpseek.com
A WordPress-centric search engine for devs and theme authors



attachment_updated › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( 'attachment_updated', $post_id, $post_after, $post_before )
Parameters: (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
Defined at:
Codex:

Fires once an existing attachment has been updated.





Source

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