WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about attachment_updated

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php do_action 4630 /**
* Fires once an existing attachment has been updated.
*
* @since 4.4.0
*
* @param int $post_ID Post ID.
* @param WP_Post $post_after Post object following the update.
* @param WP_Post $post_before Post object before the update.
*/

Hook Parameters

Parameter Type Name Description
int $post_ID Post ID.
WP_Post $post_after Post object following the update.
WP_Post $post_before Post object before the update.