VersionCheck final class
Minn\Runtime\VersionCheck · public/minn/src/Minn/Runtime/VersionCheck.php · 27 lines
Whether the WordPress version Minn reports and the PHP it runs on meet a requirement (a plugin's "Requires at least" and "Requires PHP"), and where to read about updating PHP.
Uses 2
Used by 1
Public
| static | wordpress(mixed $required): bool# | Whether the reported WordPress version is at least the one required (is_wp_version_compatible); nothing required always is. |
| static | php(mixed $required): bool# | Whether PHP is at least the version required (is_php_version_compatible); nothing required always is. |
| static | updatePhpUrl(): string# | The page about updating PHP (wp_get_update_php_url): the filter's, unless it gives no address. |
| static | defaultUpdatePhpUrl(): string# | The page about updating PHP before any filter (wp_get_default_update_php_url), in the site's language. |
Nothing matches.