5111* Fires once an attachment has been added.5112*5113* @since 2.0.05114*5115* @param int$post_id Attachment ID.5116*/5117do_action('add_attachment',$post_id);5118}51195120return$post_id;5121}51225123if($update){
History
Introduced in 2.0.0. Unchanged from 6.7.7 through 7.1.0.