Prevent small image sizes from being uploaded
Prevent small image sizes from being uploaded
Prevent small image sizes from being uploaded
Can’t manipulate media uploads
I use Search-Replace-DB from interconnectit for years now and had always good results with replacing urls. In case you have Yoast SEO plugin installed you might have to deactivate it when you rewrite the urls, otherwise I never had trouble using that scripts up to now. https://github.com/interconnectit/Search-Replace-DB
Using wp_enqueue_media() with switch_to_blog() issue
Check if uploaded file has a specific filename
You can export the database: mysqldump -u [db_username] –password=[db_password] “[db_name]” > “[db_name].sql” Then you can use the tool of your choice to remove the unique ids: sed -i -e ‘s/unique-id//g’ [db_name].sql Then import the resulting SQL file.
Move files from flat upload directory to organised by year / month
Manipulate CSV data during upload, is it possible?
Make WordPress compress full size image?
wordpress media upload given An error occurred in the upload. Please try again later