rest_is_ip_address


rest_is_ip_address ( $ip )

Parameters:
  • (string) ip IP address.
Returns:
  • (string|false) The valid IP address, otherwise false.
Defined at:

Description

Determines if an IP address is valid.Handles both IPv4 and IPv6 addresses.

Related Functions

rest_is_array, rest_api_loaded, rest_is_integer, is_email_address_unsafe, rest_ensure_response

Top Google Results

User discussions

wpseek mobile