jetpack_contact_form_forget_ip_address, false, $this->ip_address

jetpack_contact_form_forget_ip_address, false, $this->ip_address

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_contact_form_forget_ip_address, false, $this->ip_address') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-feedback.php line 1582
    			$fields_to_serialize['fields'][] = $field->serialize();
    		}
    
    		// Check if the IP and country_code should be included.
    		if ( apply_filters( 'jetpack_contact_form_forget_ip_address', false, $this->ip_address ) ) {
    			$fields_to_serialize['ip']           = null;
    			$fields_to_serialize['country_code'] = null;
    		}
    
    		return addslashes( wp_json_encode( $fields_to_serialize, JSON_UNESCAPED_SLASHES ) );
    	}