Title: ERROR wpcf7_remove_shortcode
Last modified: June 3, 2019

---

# ERROR wpcf7_remove_shortcode

 *  Resolved [mattemar](https://wordpress.org/support/users/mattemar/)
 * (@mattemar)
 * [7 years ago](https://wordpress.org/support/topic/error-wpcf7_remove_shortcode/)
 * Hi there, the contact form in my client website all of the sudden stopped to 
   work. If I deactivate the cf7 plugin the website is showing properly, if I activate
   it I gett this error:
 * wpcf7_remove_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_remove_form_tag
   instead. in /home/prontoitaliano/public_html/wp-content/plugins/contact-form-
   7.bk/includes/functions.php on line 374
 * Notice: wpcf7_remove_shortcode is deprecated since Contact Form 7 version 4.6!
   Use wpcf7_remove_form_tag instead. in /home/prontoitaliano/public_html/wp-content/
   plugins/contact-form-7.bk/includes/functions.php on line 374
 * Could you please help me fixing it? Thanks
    -  This topic was modified 7 years ago by [mattemar](https://wordpress.org/support/users/mattemar/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [MrsJessicaSimpson](https://wordpress.org/support/users/mrsjessicasimpson/)
 * (@mrsjessicasimpson)
 * [7 years ago](https://wordpress.org/support/topic/error-wpcf7_remove_shortcode/#post-11599412)
 * Googled it, and some interesting reading popped up: you may like to look at this
   one below as a starter.
 * [https://wordpress.org/support/topic/notice-wpcf7_remove_shortcode-is-deprecated/](https://wordpress.org/support/topic/notice-wpcf7_remove_shortcode-is-deprecated/)
 * The general consensus from a quick scan, is that it may well be another mailer
   plugin that’s causing it, and not CF& at all.
 * As I say, it may or may not help you.
 *  Thread Starter [mattemar](https://wordpress.org/support/users/mattemar/)
 * (@mattemar)
 * [7 years ago](https://wordpress.org/support/topic/error-wpcf7_remove_shortcode/#post-11599559)
 * Thanks Mrs,
 * I’ve checked that link and I’ve noticed was the datepicker creating the issues.
   I edited the date.php file like it says in that topic and the error message disappeared,
   non completely though.
 * Now fortunately the website and contact form are loading properly with the plugin
   active but on top of the contact for a error is been shown:
 * > Notice: WPCF7_Shortcode is deprecated since Contact Form 7 version 4.6! Use
   > WPCF7_FormTag instead. in /home/prontoitaliano/public_html/wp-content/plugins/
   > contact-form-7/includes/functions.php on line 374
 *  Thread Starter [mattemar](https://wordpress.org/support/users/mattemar/)
 * (@mattemar)
 * [7 years ago](https://wordpress.org/support/topic/error-wpcf7_remove_shortcode/#post-11599605)
 * Ok solution found, thanks to the first step.
 * The contact form 7 developer stopped to use the name shortcode in their code
 * They renamed this because the use of the term “shortcode” was confusing. It is
   actually a form-tag of the Contact Form 7 plugin, but sounds like a shortcode
   of WordPress itself. Those two concepts are similar, but fundamentally different.
 * Why my issue came up? Because other add ons plugin made from third parties didn’t
   update their codes, so what I had to do was **replacing** all the these tags (
   in my case in the datepicker – date.php):
 * > WPCF7_Shortcode
   >  WPCF7_ShortcodeManager wpcf7_add_shortcode() wpcf7_scan_shortcode())
 * **whith these:**
 * > WPCF7_FormTag
   >  WPCF7_FormTagsManager wpcf7_add_form_tag() pcf7_scan_form_tags()
 * Hope it helps!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ERROR wpcf7_remove_shortcode’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mattemar](https://wordpress.org/support/users/mattemar/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/error-wpcf7_remove_shortcode/#post-11599605)
 * Status: resolved