Fires once an attachment has been added.
Parameters
$post_idint- Attachment ID.
Source
do_action( 'add_attachment', $post_id ); Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
Fires once an attachment has been added.
$post_idintdo_action( 'add_attachment', $post_id ); | Version | Description |
|---|---|
| 2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.