Last active
February 5, 2016 04:13
-
-
Save chihirokaasan/7d71ed8916217afc4eaf to your computer and use it in GitHub Desktop.
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
function per_user_upload_dir( $original ){ | |
// use the original array for initial setup | |
$modified = $original; | |
return $modified; | |
} | |
add_filter( 'upload_dir', 'per_user_upload_dir'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment