Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable logging of ip addresses


  • tinfoiler
    Participant

    @tinfoiler

    Ive had a search through the forums here and cant find an answer to my question, i have just installed bbpress and it integrates perfectly into my current wordpress installation. I notice whenever a post is made in bbpress the authors ip address is logged and is visible to the administrator. I would like to disable this and set it so that no ip addresses are stored at all.

    From what i can tell the ip’s seem to be stored in the following db field:

    wp_postmeta/meta_value

    I have a function i found online for wordpress which prevents the ip from being logged:

    add_filter('pre_comment_user_ip', 'no_ips');
    function no_ips($comment_author_ip){
      return '';
    }

    Can the above be converted for use with bbpress?

    Any advice would be appreciated 🙂

  • You must be logged in to reply to this topic.
Skip to toolbar