do_action( 'attachment_updated', int $post_id, WP_Post $post_after, WP_Post $post_before )

Fires once an existing attachment has been updated.


Parameters

$post_id int
Post ID.
$post_after WP_Post
Post object following the update.
$post_before WP_Post
Post object before the update.

Top ↑

Source

File: wp-includes/post.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.