Hook into the filter 'sanitize_file_name'
. See my plugin Germanix URL for a working example.
A plugin doing this is Rename Media.
Related Posts:
- using upload image with media_handle_upload .. but !
- Automatically wrap post image in div
- Get the post attached to a image attachment
- sanitize attachment filename
- Add a page that appears in the backend admin that lists files to download? WP 3.3
- Importing media medium setting image gallery / image attachments
- Custom attachments styling in post view
- problem in uploading attachment to custom directory
- How to query details of images in gallery that is attached to a post
- Attach File Funcion for Common people
- Transferring theme and imported post attachments
- Is it possible to show related posts on WordPress attachment pages?
- Plugin SVN & update API – how are plugins identified?
- How to use more than 256MB of memory in the admin?
- Localization: I want the backend: english and frontend in defined language
- How to get current_cat in navbar, in single post
- Removing fields from the Media Uploader/Gallery
- Any amazing WordPress MultiSite sites? [closed]
- Add URL field to the link post format
- How to fix broken upgrade to 3.1
- Disable email field on WooCommerce customer account details
- Multiple Queries and Excluding Repeating Posts?
- Add new Control to Customizer to modify Headings (h1, h2, h3…) Color
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- Custom Theme Blog page not showing Posts
- get_option issues
- How to change URL Custom Page?
- Impossible to get Attachments Outside WordPress?
- Comments not nesed with custom template
- How to get multiple Action Hooks in an Array
- What values can we use in `formattingControls` parameter in RichText component
- What will happen to the additional CSS when the theme is updated?
- Multiple Blogs on one site. Best Practise
- Limiting allowed html elements/strip harmful scripts from editor
- Displaying Post Attachment(s) at Top of single.php
- Customizing default Mediaelement player
- Custom members area (interface/design) in WordPress, is it possible and how?
- Override database config for WordPress multiblog
- Password protected photo galleries
- How do I fix unexpected redirection of visitors after enabling multisite on WP3?
- Add more then one site logo – custom-logo theme support
- How to get “string” away – replaced with “nothing” [closed]
- Can not sanitize select control in customize api
- Putting tag outside tag on generated Menu
- Multiple RSS feeds scroller in one sidebar
- How to encode author ID in the author permalink
- Remove add news page and posts from menu
- Custom Status of Custom Post type need to EXCLUDE from Taxonomy pages
- Send multiple attachments with wp_mail in PHP
- redirect post id to post full url
- Silo Structure; Will links from home page to a Sub-category or Post undermine silo seo advantage? [closed]
- Manage multiple domains from one backend
- Static admin page for all multisite users
- custom default avatar showing broken link
- What will happen if I delete all my attachment type posts from database?
- How can I create a permalink with two categories, with the order based on the parent category?
- Customize option – add two image uploader under same section
- Moving wp-content folder
- Modify the display Text of number of comments
- Toggle custom fields?
- Simplify the admin end
- Creating a shortcode by pulling in a custom field from a plugin
- Hide Customizer’s Widget Choices From The List
- How to add span on WordPress Title for first and third word
- Custom Post Types database persistance. Why not?
- Edit specific text on a static page
- Customise the Category Widget
- Showing Meta Box via Jquery Checkbox
- custom user meta query
- problem saving/ retrieving custom meta with wp alchemy metabox
- Problem with custom function from jQuery slider tutorial
- Create new network instance, import old single installs AND keep the urls?
- Problems with setting up a subdomain to serve images and scripts
- Change login cookie expiration time?
- Disable “-mp4-image” screenshots from appearing in Media?
- wordpress custom posts page not showing
- Wrap WordPress Login Form in custom Div
- Automatically reject a comment if website field contains anything
- Post filter with multiple checkbox taxonomy terms
- Replace publish date in blog module with custom field
- Need help with drop down list on the profile
- generate a static copy of the website footer html
- Multi-site customization
- Creating WordPress staging environment software
- How to add H1 Tag on Homepage?
- Show different pages on site depending on user choice
- Is there a way to limit multi upload in media upload box?
- Use another theme template in my theme
- Display popular posts by how many hits it got within 30 days of publishing
- Pulling posts into static site (wordpress as subdirectory)
- Call a duplicate registration form with other url
- WP Customizer – what types of fields is it capable of supporting?
- How to make my wordpress site responds for 2 domains
- User registration add user ID?
- Can’t Auto-Update, but permissions are good?
- How to answer, and we aren’t using WordPress to manage your site? [closed]
- responsive screen not working [closed]
- Is there a way to have information on one page automatically feed into another? [closed]
- Post interior margin in twenty eleven theme
- Where did I put this one line of css?