wp_privacy_anonymize_ip


wp_privacy_anonymize_ip ( $ip_addr, $ipv6_fallback = false )

Parameters:
  • (string) $ip_addr The IPv4 or IPv6 address to be anonymized.
  • (bool) $ipv6_fallback Optional. Whether to return the original IPv6 address if the needed functions to anonymize it are not present. Default false, return `::` (unspecified address).
Returns:
  • (string) The anonymized IP address.
Defined at:
Change Log:
  • A: b

Description

Return an anonymized IPv4 or IPv6 address.

Related Functions

wp_privacy_anonymize_data, _wp_privacy_statuses, wp_privacy_exports_url, wp_privacy_exports_dir, wp_verify_nonce

Top Google Results

User discussions

wpseek mobile