• Resolved pauly33

    (@pauly33)


    In the latest version 7 5.0.3 the ability to anonymize a sender’s IP address. See this page for details. Has anyone implemented this? If so, where does the code add_filter( ‘wpcf7_remote_ip_addr’, ‘wpcf7_anonymize_ip_addr’ );
    go?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Add_filter code should generally be inserted to the functions.php file of your active theme, or better still the child theme so it won’t be overwritten when you update the theme.

    * create a backup of the file first
    ** make sure you have access to the file other than through the WP dashboard (e.g. Filezilla or cPanel) so you can fix any issues that arise
    *** place the code at the bottom of the file two lines below the last line of existing code

    Thread Starter pauly33

    (@pauly33)

    Ah, ok. Will stick it in my functions file.

    That worked – thank you!

    • This reply was modified 6 years, 7 months ago by pauly33.

    I tried to put the “add_filter( ‘wpcf7_remote_ip_addr’, ‘wpcf7_anonymize_ip_addr’ );” command in the functions.php but doesn’t work.
    Probably I put the line in the wrong position of the php file.
    Someone could help me to find the right position?
    This is my clean functions

    Is It enough add this line to anonimaze all the IP’s?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anonymizing IP Address’ is closed to new replies.