Is there a way to add a default description for media files as soon as they are uploaded to WordPress?
Specifically, I want to modify the code here to extract the text from PDF files and include it in the description for the media item in WP.
I've found that adding a filter using the "attachment_fields_to_save" hook will allow me to change the description (post_content) for media, but it only works after I click "update" on the Edit Media screen. When items are first uploaded, the description is empty by default.
Thanks for any help!