wp_is_uuid ( $uuid, $version = null )
- (mixed) $uuid UUID to check.
- (int) $version Specify which version of UUID to check against. Default is none, to accept any UUID version. Otherwise, only version allowed is `4`.
- (bool) The string is a valid UUID or false on failure.
- Introduced in WordPress: 4.9.0
- Deprecated in WordPress: —
Validates that a UUID is valid.