WordPress.org

Forums

Add content to Comment Blacklist, list (2 posts)

  1. cent
    Member
    Posted 2 years ago #

    Hi All,

    WordPress maintains a Comment Blacklist located at:
    /wp-admin/options-discussion.php

    Is there a way that I can update this field using code? I'm writing a plugin that allows the admin to completely blacklist IP addresses and need to be able to add to this list.

    Any help is appreciated.

  2. Pioneer Web Design
    Member
    Posted 2 years ago #

    I would simply manually add one line (an unique line of text such a dsuwjdidndidsnhdid) to the list then search the db for it...that would reveal where to write into the db...

Topic Closed

This topic has been closed to new replies.

About this Topic