WordPress.org

Forums

Custom validation of comment entries (1 post)

  1. laotse
    Member
    Posted 3 years ago #

    I'd like to use my own functions to validate author name and e-mail and particularly the comment text. If I understand correctly, I have to remove the default validation filters and replace them by my own.

    Is there any documentation, which filters are installed during comment acceptance for which purpose?
    What is the return value of any filter, if the value is not acceptable - or is wp_die() the method of choice?

    Thanks for your help,
    - lars.

Topic Closed

This topic has been closed to new replies.

About this Topic