Action hook 'edit_attachment'

in WP Core File wp-includes/post.php at line 4791

Description

Fires once an existing attachment has been updated.

Occurrences

Filename Line Number
wp-includes/post.php 4791

Parameters

Type Name Description
int $post_id Attachment ID.

PHP Doc

/**
			 * Fires once an existing attachment has been updated.
			 *
			 * @since 2.0.0
			 *
			 * @param int $post_id Attachment ID.
			 */