Skip to content
Ben Marshall edited this page Feb 23, 2021 · 8 revisions

apply_filters( 'zerospam_get_ip', string $ip )

Applied to the IP address used by WordPress Zero Spam.

Parameters

$ip (string) The user's IP address.

Example

add_filter(
  'zerospam_get_ip',
  function( $ip ) {
    // Alter the IP address here.
    return $ip;
  }
);
Clone this wiki locally