📢 Introducing Fathom Extension for MainWP: Track All Child Site Stats from One Dashboard.

MainWP Blog

Download Monitor WordPress Plugin
Tips & Tricks
Sebastian Moran

Useful Code Snippets for the Download Monitor Plugin for WordPress

If you use the Download Monitor plugin on your site to manage downloads and uploads, you can control its options using code snippets. Download Monitor WordPress Plugin The Download Monitor WordPress plugin supports multiple versions of the same file, as well as being able to insert downloads into posts, log and track downloads and for being able to sell downloads on your site. To disable the force download, use this code snippet; add_filter( ‘dlm_do_not_force’, ‘__return_true’ ); By default, the Download Monitor plugin for WordPress will redirect empty downloads to the site’s homepage. To disable the empty redirects for download, use

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.