wp_is_uuid


wp_is_uuid ( $uuid, $version = null )

Parameters:
  • (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`.
Returns:
  • (bool) The string is a valid UUID or false on failure.
Defined at:

Description

Validates that a UUID is valid.

Related Functions

wp_is_mobile, wp_list_widgets, wp_unique_id, wp_admin_css_uri, wp_list_pluck

Top Google Results

User discussions

wpseek mobile