do_action( ‘edit_attachment’, int $post_id )

In this article

Fires once an existing attachment has been updated.

Parameters

$post_idint
Attachment ID.

Source

do_action( 'edit_attachment', $post_id );

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

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