I'm switching a single WordPress site to a WordPress Multisite. I'm maintaining some post meta boxes with custom fields, and some front-end forms, where I maintained some features like maximum upload size for media library uploads, and restricted to some specific file types, using some third party plugins.
While switching to multisite, I noticed that the features are implemented by core per blog. I loved that. As it's functioning properly, I need to get those value from database, so that I can warn my users about the accepted file types and maximum upload limit per file in a tooltip or in an instruction field.
I know I can do this easily using
$wpdb, but is there any default functions, that can facilitate me fetching the data easily?