Advertisements
Tag Archives: edit_attachment

wp_insert_attachment

Insert an attachment.If you set the ‘ID’ in the $object parameter, it will mean that you are updating and attempt to update the attachment. You can also set the attachment name or title by setting the key ‘post_name’ or ‘post_title’.

3785

Advertisements
Continue reading