Contact Form 7
Custom Fields should remain hidden (3 posts)

  1. Manuel Schmalstieg
    Posted 4 years ago #

    First of all, thank you Takayuki for this extremely useful plugin!

    I have noticed one detail that could perhaps be improved: the plugin is adding some custom fields to WordPress, that are showing up in the Custom Fields dropdown menu. They are visible when I want do add my own custom fields to a post, for instance. The fields that I noticed are: messages, additional_settings, mail, mail_2, form. All those fields, it seems, are created by Contact Form 7.

    I believe that it would be better if those custom fields would start with "_" (underscore), or maybe even better "_wpcf7_", so that they would be hidden from the user.

    That's what is recommended in the WP documentation:

    I hope this can be added as a fix in a future version of the plugin.


  2. venkmanuk
    Posted 4 years ago #

    is there a reason these are visible?
    what's their function?

    .. hope someone can shed some light.

  3. Manuel Schmalstieg
    Posted 4 years ago #

    My guess is that Contact Form 7 was started a long time ago, when those custom fields were not visible to the user by default.

    And changing the names now is maybe not that trivial, in order not to break things when people are upgrading from an older version.

    On the other hand, for an advanced user, it shouldn't be a big effort: doing a search-replace on the whole CF7 files would be enough.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic