Change Media Uploader default directory

Might wanna look at

https://developer.wordpress.org/reference/functions/wp_upload_dir/

In definition there is a hook upload_dir, you can use that to change path.

Haven’t tried or tested it, but you can give it a try.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)