Support » Plugin: WP Document Revisions » Add hook after file upload/update

  • Resolved theonewithout


    I want to trigger a function after a file has been updated or uploaded. What I want to do is send a notification to the people who have access to this file, notifying them of its existence.

    Assuming that documents are just posts, I thought I could do this:
    add_action('wp_transition_document_status', 'send_file_notification');

    But my send_file_notification function is not called. Does anyone have an idea how to fix/create this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add hook after file upload/update’ is closed to new replies.