1

How about saving the original filename inside the current $_REQUEST and processing it whenever WordPress generates the attachment metadata: /** * Store original attachment filename in the current $_REQUEST superglobal * * @param NULL * @param Array $file - Uploaded File Information * * @return NULL */ function wpse342438_store_attachment_filename( $...


Only top voted, non community-wiki answers of a minimum length are eligible