Hi all! ;)
I'm trying to port a WordPress MU plugin to WordPress (single user).
That plugin is used to see in the dashboard the remaining space in the upload folder, so you can know all the time if you have enough free space for more files.
If I try to use this plugin in WP I get this error:
Fatal error: Call to undefined function get_site_option() in...
Because the plugin uses get_site_option to get the space remaining throught a funtion argument that exist in WPMU.
So my question is...
Is there any function in WP to get the free space remaining in the blog/hosting??? (I have searched in the develop docs but cant find anything).
Thanks in advance!