-
-
Save anonymous/2bc23d0036defb7747a08d30e78b9de5 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
add_filter( 'gform_upload_path', 'change_upload_path', 10, 2 ); | |
function change_upload_path( $path_info, $form_id ) { | |
$path_info['path'] = '/nas/content/staging/justreport/wp-content/themes/justreport/uploads/'; | |
$path_info['url'] = 'http://justreport.staging.wpengine.com/uploads/'; | |
return $path_info; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment