add_filter( 'option_uploads_use_yearmonth_folders', '__return_false', 100 );
That’s all you need, seriously!
Related Posts:
- Specific upload folder for PDFs in custom Post type in WP multisite
- Get upload URL by blog ID in multisite
- Multisite stuck at 1MB for max file size
- Which asset URLs are acceptable in a “vanilla” MU install?
- Can upload doc and pdf but not ppt – not permitted for security reasons
- Listing of all uploaded files in network sites
- Upload path/URL weirdness for the main blog of a multisite/network setup
- Turn off ms-files.php after network setup
- Organize uploaded media files
- How can I have network sites not use year/month folders by default?
- How to upload images manually to wordpress?
- Sharding BLOGUPLOADDIR
- Advanced Custom Fields Multisite Upload/Imagery Issue [closed]
- How to make WordPress use new Upload Path settings in Multisite Setup
- Hook filter to change wp_upload_dir() path in multisite
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Shared upload folder in wordpress multisite
- Protect Uploads in Multisite
- .epub file blocked despite ALLOW_UNFILTERED_UPLOADS set to true
- How to get max upload size and accepted file types on multisite?
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- Images uploading to wrong directory after changing to multisite
- Media library not loading after switching the main site of multisite
- How to stop unlink images when remove a site or user
- Multisite media library uploads broken images
- Upload images from one site to another in Multisite
- Image problem – Multisite image upload broken
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Upload file type not permitted even if explicitly registered as upload_filetypes in the db (multisite)
- Where does multisite store image uploads?
- Error uploading files bigger than 58 MB
- WP doesn’t remove uploads from folder when removed from “Media Library”?
- Problem uploading images
- ‘Cheatin’ uh?’ Error When Attempting to Upload Images After 3.4 Update
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- Multisite – Images often getting uploaded to the wrong month directory
- Merge Multisites with Shared Network Media Library
- Copying media from multisite subsites to main website
- Show media-frame-menu on custom Media Frame
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- Multisite sub-directories IIS 7.5 change media/uploads location
- Make uploads live outside of the WP folder
- Where to set individual blog quotas?
- Save uploads directly in the uploads folder (on a multisite)
- Multisite adjust uploads like (/upload/%alphanumeric_id%/%file_type%/%blog_ID%)
- Automatically Insert Into Post when uploading Media
- Can I use the same Folder name as a Multisite Blog?
- Hiding media uploaded by other users in wordpress multisite?
- Multisite missing tmp folder error while uploading
- Multisite subdirecty added inside URL to uploaded files
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Remove multisite part from wordpress multisite upload directory
- How to set upload path after renaming uploads folder in Multisite?
- Shared upload folder in wordpress multisite with custom sub site domain pictures URL:s
- WordPress Multisite subdomains and sharing the same upload folder
- New wordpress uploads are broken
- Primary site file uploads failing, subdirectory subsites upload fine
- Multi site and media uploader
- MP4 upload ok, but HTTP500 if I update the file (multisite)
- Can i merge 2 new WP_Query($variable) ‘s?
- How to reliably flush rewrite rules on multisite?
- Using wp_insert_post() with Networking enabled
- Sharing Dynamic Sidebars across Multisite Blogs
- Hide a theme on list of themes in wp-admin without editing core files
- WordPress Multisite Network installation and dev questions
- Turn off trackback/pingbacks and comments on all existing multisite sites
- My subsites accidentally went from one multisite network to another. How do I change it back?
- How to share posts in WordPress Multisite?
- Multi Site Search Pagination is Broken
- Multisite setup creating custom table
- Multi language site with same content
- Multisite – disallow list of blognames during subsite creation
- What happens if I use .htaccess of network multisite on a single site installation?
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- Prefix Multisite Directory Structure
- Multisite Sub-domain creation Doubt | what will be the document root folder?
- Multisite Create Site not working
- Least expensive way to get table prefix in multisite installation
- How to write RewriteRule for login in multisite
- NextGEN Gallery: Use the same galleries on 2 or more sites on WP network (multisite)? [closed]
- Redirect to another page using contact form 7? [closed]
- How can I manually activate a new site in a wordpress multisite network?
- Network of multisites in WordPress, create new site with all the contents of the main
- Can you please verify my robots.txt for wordpress
- sub-page settings saving in NETWORK DASHBOARD
- Check if current site ID and value exist in WPDB
- How to publish some default pages in Multisite creation?
- unique identifier for the same pages in a multilanguage/site context
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- Unified login page for a Multisite/BuddyPress site
- Problem with new Multisite Installation
- User registration on wordpress multisite
- Website creation for multiple clients but from a single account on multiple host name
- Is mature Multisite
- How to split database of WordPress multi-site network into multiple database
- Backend freezing on certain pages of a subsite
- Multisite – User creation for second site from first site?
- Multiple domains for with a single instal
- Letting clients use visual builders plugins/themes on WordPress Multisite installation
- WordPressMu network with private sites