Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/riotrequest/wp-diskspace-limits/archive/refs/heads/main.zipDisk Space Usage Limit Plugin
Description
This WordPress plugin helps you manage and restrict disk space usage within your WordPress installation. It displays the current disk space usage and enforces a defined disk space limit.
Installation
-
Install the Plugin:
- Download the plugin ZIP file.
- Upload and activate it in your WordPress admin panel.
-
Recommended Placement:
- For optimal functionality, it is recommended to place this plugin in the "mu-plugins" (Must-Use Plugins) folder.
- Please make sure your WordPress setup supports Must-Use Plugins.
-
View Disk Space Usage:
- Go to your WordPress dashboard.
- Find the "Disk Space Usage with Limit" widget to view your current disk space usage and the defined limit.
-
Change Disk Space Limit:
- Open the plugin file (
disk-space-usage.php) in a code editor. - Locate the
DISK_SPACE_LIMITconstant and change its value (in MB) to your desired limit. - Save the file.
- Open the plugin file (
-
Customize Behavior (Optional):
- You can further customize the plugin's behavior by modifying the code to suit your specific needs.
Important Notes
-
Use at Your Own Risk: This plugin is provided as-is, without any warranties or guarantees. Please use it at your own risk.
-
Make a Backup: Before making any changes or using this plugin, it's highly recommended to create a backup of your WordPress installation and database.
-
Limited Support: The author does not offer support for this plugin. You are responsible for its configuration and usage.
-
Admin Notices: The plugin will display admin notices if it takes any actions due to disk space constraints.
Feel free to contribute.