WordPress at Your Fingertips
function is not described

SimplePie_Net_IPv6::checkIPv6() public WP 1.0

Deprecated. It is no longer supported and can be removed in future releases. See {@see SimplePie_Net_IPv6::check_ipv6()}.

Checks if the given IP is a valid IPv6 address

{} It's a method of the class: SimplePie_Net_IPv6{}

No Hooks.

Return

true|false. true if $ip is a valid IPv6 address

Usage

$result = SimplePie_Net_IPv6::checkIPv6( $ip );
$ip(string) (required)
An IPv6 address

Notes

  • See: check_ipv6

Changelog

Deprecated Use {@see SimplePie_Net_IPv6::check_ipv6()} instead

Code of SimplePie_Net_IPv6::checkIPv6() WP 5.8.2

public static function checkIPv6($ip)
{
	return self::check_ipv6($ip);
}