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_api_loaded, is_email_address_unsafe, rest_ensure_response, reset_password, rest_do_request

Top Google Results

User discussions

wpseek mobile