{"id":11964765,"date":"2019-09-24T17:35:17","date_gmt":"2019-09-24T17:35:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/set-uploaded-file-name\/"},"modified":"2019-09-24T17:35:17","modified_gmt":"2019-09-24T17:35:17","slug":"set-uploaded-file-name","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/set-uploaded-file-name\/","title":{"rendered":"Set uploaded file name"},"content":{"rendered":"<p>Howdy,<\/p>\n<p>Does a simple method \/ hook \/ action to rename uploaded files before saving them exist?<\/p>\n<p>We would like to use data from the form fields to populate the file name &#8211; like to rename an image to include a name: first_name_last_name_brochure.jpg<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-11964765","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11964765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11964765\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11964765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}