WordPress.org

Ready to get started?Download WordPress

Forums

Disable html in contact form 7 ? (2 posts)

  1. jimmy506
    Member
    Posted 1 year ago #

    Is there a way to disallow html in contact form 7 ?

    I read that you can put the following in your fuctions.php to block links from being added to comments:
    add_filter( 'pre_comment_content', 'wp_specialchars' );

    Was wondering if something similar could be done with the email form.

    Thanks very much!
    Jimmy

  2. jimmy506
    Member
    Posted 1 year ago #

    Anyone home?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags