WordPress.org

Ready to get started?Download WordPress

Forums

Add content to Comment Blacklist, list (2 posts)

  1. cent
    Member
    Posted 1 year 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 Valley Web Design
    Member
    Posted 1 year 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