WP_CLI\Utils\get_named_sem_ver() Edit

Topics

Compare two version strings to get the named semantic version.


Usage Usage

WP_CLI\Utils\get_named_sem_ver( $new_version, $original_version )
$new_version (string)
$original_version (string)
@return (string) ‘major’, ‘minor’, ‘patch’

Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.


Top ↑