WP Document Revisions
Crypting No Files (1 post)

  1. lowerpower
    Posted 1 year ago #

    Hello Ben,

    first of all let me thank you for your genious wp document revision tool. It's working properly and doing all the things it should do.

    With one exception:) Your 3rd Party En-/Decryption Hooking Point. I've installed [Plugin: Gravitate Encryption] for crypting sensitive files in the upload folder. Therefore I used your description like this: `

    function wpdr_encrypt( $attachment ) {
            //get path to attached file
            $file = get_attached_file( $attachment->ID );
        GDS_Encryption_Class::encrypt( $file );
    add_action( 'document_upload', 'wpdr_encrypt' );
    function wpdr_decrypt( $file ) {
    add_action( 'serve_document', 'wpdr_decrypt' );

    But nothing really happens. The file is uploaded on server without any encryption work. May you have the leisure to help me in that case. That would be glad. Many thanks in advance, lp.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Document Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic