Browse: Home / Functions /

learndash_sanitize_version_string

learndash_sanitize_version_string( string $version )

Sanitizes a given version string to ensure that it follows SemVer properly.


Description #


Parameters #

$version

(string) (Required) Version string.


Return #

(string)


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
4.18.1 Introduced.