• Hi there,

    I am currently trying to add a line of code when uploading a file, I’m currently using add_action(‘wp_handle_upload’,’my_function’); to achieve this but this seems to break the media uploader. Even if my function is empty, the media uploader allows me to upload an image but on the preview, it is a blank image with no filename and no path.

    Do you guys know what I am doing wrong?
    Thanks,
    MG

  • The topic ‘add_action('wp_handle_upload','my_function'); breaks image uploader’ is closed to new replies.