• When editors of my website entering the WordPress dashboard, they see the ip adress of visitors who legt comments. Hoe van I change this?

    • This topic was modified 5 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    have you tried adding this function to functions.php ?

    function remove_comments_ip( $ip ) { return ”; }
    add_filter( ‘pre_comment_user_ip’, ‘remove_comments_ip’ );

    This will return blank field instead of IP in every NEW comment.

    Thread Starter randyvos

    (@randyvos)

    Thanks for your reply. Problem is that Admins can’t see them anymore. Only the admin should see the ip, normal editors not.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ip adres in admin/dashboard’ is closed to new replies.