MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
A multi-site aware method for getting the current WordPress content directory.
Boolean $main = false
If true, this method will always return the MAIN content url whether in a multi-site environment or not.