Clanbite Since 1.6.0
satisfies( string $version, string $expr ): boolWhether a version satisfies a constraint.
public static
Class: Kernowdev\Clanbite\Updates\Version_Constraint
Parameters
$version(string) RequiredVersion to test (for example
1.6.0or1.6.0-beta.1).$expr(string) RequiredConstraint.
Returns
bool False for an invalid constraint or an unusable version.
Defined in inc/updates/class-version-constraint.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |