Support » Fixing WordPress » Alert/Notification while running PHP code

  • After a user uploads a file, at the end of wp_handle_upload, I call a custom function that does some extra post-processing of what was uploaded.

    After it’s all done, I want to be able to display to the user a Success or Fail message after it’s done. What’s the best way to do this? Most notification/alert/modal message plugins seem to be something that pop up automatically or after you click something … but I want to be able to call it from the PHP file. Any thoughts?

  • The topic ‘Alert/Notification while running PHP code’ is closed to new replies.