Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter migueldecali89

    (@migueldecali89)

    I apologize for not making my question clear.

    I want to run my own function when a wordpress author(that has access to the wp dashboard) uploads a file through the media uploader.

    I tried editing my functions.php within my theme and added:

    add_action(‘wp_handle_upload’, ‘my_own_function’);

    this seemed like it worked but it seemed to have disrupted something in the media uploader, as I can no longer upload anything (It looks like something gets uploaded but it is just blank with no file path or file name). It disrupts the uploader even if my_own_function is empty.

    I tried looking into the codex as much as I could to figure it out, everything that I have read suggests that what I am doing is right, but doesn’t work.

    Thank you.

Viewing 1 replies (of 1 total)