MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
Returns the URL of the current WordPress WOOF::object, or the current URL derived from server variables if there is no current object.
Boolean $root_relative = true
Whether to make the URL root-relative (remove the domain and protocol).