WordPress.org

Support

Support » How-To and Troubleshooting » Add content to Comment Blacklist, list

Add content to Comment Blacklist, list

  • 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.

Viewing 1 replies (of 1 total)
  • 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…

Viewing 1 replies (of 1 total)
  • The topic ‘Add content to Comment Blacklist, list’ is closed to new replies.