Question
WordPress creates resized copies of images that are uploaded to the media library. When I upload an image, I want to do some processing on these resized images. Currently, I'm using a add_attachment hook that gives me the attachment_id of th
0
bazinga 1 month 0 Answers 0 views

Question
Wordpress doesn't allow to upload SVG files by default. Add svg file type in allowed file types list function wp_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter('upload_mimes', 'wp_mim
0
Ulrich Sommer 4 months 0 Answers 0 views

Question
I can't quite find what I'm looking for. I simply want to add a filename field in Add Attachment or Add Media so I can easily upload a photo from my phone to my WordPress site and then have it saved under that name I typed in instead of the phone given name like WP0023.JPG
0
Matthew Todd 5 months 0 Answers 0 views