Used By
| Used By | Description |
|---|---|
| wp-includes/post.php: wp_insert_post() | Insert or update a post. |
Fires once an attachment has been added.
(int) Attachment ID.
This hook is called when an attachment created by wp_insert_attachment() in wp-includes/post.php.
File: wp-includes/post.php
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/add_attachment