5110* Fires once an attachment has been added.5111*5112* @since 2.0.05113*5114* @param int$post_id Attachment ID.5115*/5116do_action('add_attachment',$post_id);5117}51185119return$post_id;5120}51215122if($update){
History
Introduced in 2.0.0. Unchanged from 6.7.7 through 7.1.0.