WP Tweak is a lightweight and minimalistic WordPress plugin designed to enhance your website with a curated set of tweaks. It focuses on improving performance, bolstering privacy, strengthening security, and adding other useful optimizations—all without unnecessary bloat. Perfect for users who want a simple yet effective solution to fine-tune their WordPress experience.
This plugins handles tweaks in a minimalistic way. Only files that contains tweaks that you activate are loaded!
?ver=1.2.3 from all styles and scripts.DISALLOW_FILE_EDIT constant to true. Does only work if the constant is already defined, usually in wp-config.php{name} for the user’s display name. For example Hi, {name}!. Leave empty for no greeting. Use default for the default greeting, preventing the tweak from running.WordPress/1.0; https://example.org to every site it makes calls to. You can empty the field, pretend to be Chrome Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 or something else. default will change nothing.WordPress/6.7.1; https://example.org from html headhead and adding defer attribute. This may break your site. Use at your own risk!wpcf7_load_css filter to falsewpcf7_autop_or_not filter to falseUnlike WP Code’s snippet database that is filled with low code quality tweaks where some do not even work at all and spam this plugin only contains high quality tweaks. If something is missing please add it.
It is very easy to contribute to the plugin. Check out the Github Readme.
If you have questions on adding a more complex tweak please feel free to ask.