Question
On a fresh install, I want to move the upload folder to a subdomain (supposed to speed up download). My subdomain links to a folder called static. So I have: Home wp wp-admin wp-content wp-include static Now I need to tell WordPress where the upload folder ...
0
3 days 0 Answers 25 views

Question
I am trying to automatically remove accents from uploaded files through WP administration. This is my current approach (functions.php): add_filter('sanitize_file_name', function($filename) { return strtolower(remove_accents($filename)); }); This does not provide the desired result though. JPEG with filename ČF_Hajská.jpg: desired result: cf_hajska.jpg real result: ...
0
, 1 week 0 Answers 42 views