Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | do_action | 4640 | /** * Fires once an attachment has been added. * * @since 2.0.0 * * @param int $post_ID Attachment ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $post_ID | Attachment ID. |