Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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