Created
July 22, 2019 20:29
-
-
Save polevaultweb/27b126a4d0b4e25191ad9ec8d0b91076 to your computer and use it in GitHub Desktop.
Make sure any uploads to Dropbox don't have the random timestamp prefix.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'ninja_forms_uploads_dropbox_filename', 'my_dropbox_filename', 10, 2 ); | |
function my_dropbox_filename( $filename, $original_filename ) { | |
return $original_filename; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment