4977* Fires once an attachment has been added.4978*4979* @since 2.0.04980*4981* @param int$post_id Attachment ID.4982*/4983do_action('add_attachment',$post_id);4984}49854986return$post_id;4987}49884989if($update){
History
Introduced in 2.0.0. Unchanged from 6.7.7 through 7.1.0.