I have 2 folders
/audio
/video
I want to access mime type of uploading file in hook ‘write_hook’ so I can add allowed file type validations.
But write_hook not providing any mime type info in callback function.
I have 2 folders
/audio
/video
I want to access mime type of uploading file in hook ‘write_hook’ so I can add allowed file type validations.
But write_hook not providing any mime type info in callback function.