Title: shortcode deprecated since CF7 4.6
Last modified: December 6, 2016

---

# shortcode deprecated since CF7 4.6

 *  Resolved [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/)
 * Hi
    wpcf7_add_shortcode is **deprecated** since Contact Form 7 version 4.6! Use
   wpcf7_add_form_tag instead: [http://contactform7.com/2016/12/03/contact-form-7-46/](http://contactform7.com/2016/12/03/contact-form-7-46/)
   [https://wordpress.org/support/topic/issue-wpcf7_add_shortcode-is-deprecated-after-update/](https://wordpress.org/support/topic/issue-wpcf7_add_shortcode-is-deprecated-after-update/)
 * Can you please update your plugin?
 * Thanks
 * >> Also deprecated :
    WPCF7_Shortcode WPCF7_ShortcodeManager wpcf7_add_shortcode()
   wpcf7_scan_shortcode()

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

 *  [funkolector](https://wordpress.org/support/users/funkolector/)
 * (@funkolector)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8519578)
 * Would be much appreciated 🙂
    -  This reply was modified 9 years, 6 months ago by [funkolector](https://wordpress.org/support/users/funkolector/).
      Reason: mistake
 *  [funkolector](https://wordpress.org/support/users/funkolector/)
 * (@funkolector)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8519579)
 * Would be much appreciated 🙂
 *  [isa64](https://wordpress.org/support/users/isa64/)
 * (@isa64)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8529542)
 * Yes, it would be so nice !
    Thank you
 *  [Tom](https://wordpress.org/support/users/rockstar_tom/)
 * (@rockstar_tom)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8529625)
 * Same here! Happy to donate for an upgrade 😉
 *  [Dmitry_Demir](https://wordpress.org/support/users/dmitry_demir/)
 * (@dmitry_demir)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8532462)
 * Hey, everyone.
 * I fixed this error by changing 2 lines in the plugin. Just in case, the plugin
   file is located in **\wp-content\plugins\contact-form-7-dynamic-text-extension\
   contact-form-7-dynamic-text-extension.php**.
 * Changed **line 39** from
    `wpcf7_add_shortcode(` to `wpcf7_add_form_tag(`
 * Changed **line 44** from
    `$tag = new WPCF7_Shortcode( $tag );` to `$tag = new
   WPCF7_FormTag( $tag );`
 * I hope this is gonna be fixed in the next update…
    -  This reply was modified 9 years, 6 months ago by [Dmitry_Demir](https://wordpress.org/support/users/dmitry_demir/).
 *  [giboo](https://wordpress.org/support/users/giboo/)
 * (@giboo)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8540530)
 * Thanx Dmitry_Demir, I hope too next update will consider your patch
 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8670576)
 * Sorry for the late fix, guys. The deprecated functions have been updated in the
   latest release 🙂
 *  [lisbert](https://wordpress.org/support/users/lisbert/)
 * (@lisbert)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8673011)
 * hey [@sevenspark](https://wordpress.org/support/users/sevenspark/)
    i updated
   th plugin. but when you google the website, meta description still shows the 
   error. any ideas what to do?
 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8673729)
 * [@lisbert](https://wordpress.org/support/users/lisbert/) ,
 * You’ll need to give it some time for Google to re-crawl your website, the SERPs
   won’t refresh immediately.
 * Of course, using WP_DEBUG to check for warnings on a staging or development site
   is very important, but you should not have WP_DEBUG (or PHP error reporting in
   general) enabled on a production site.
 *  [Nathaniel Flick](https://wordpress.org/support/users/natobasso/)
 * (@natobasso)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8931993)
 * This is killing me, I’ve downloaded the latest version of the plugin and I’m 
   still getting this same error. It takes down my live site, is there a fix coming
   soon or am I missing something?
 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-8932520)
 * Hi Nathaniel,
 * You’ll need to make sure you have the latest version of both CF7 and CF7 DTX 
   installed. If you have an error, you need to check WP_DEBUG to see what it is.
   Even if you’re getting the notice indicated here, it would not brick the site,
   as it’s not an error, just a notice.
 *  [ppokah0111](https://wordpress.org/support/users/ppokah0111/)
 * (@ppokah0111)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-9235702)
 * I am now having this error and i dont have access to our backend and its weekend.
   This is not cool!
    Fatal error: Call to undefined function wpcf7_add_form_tag()
   in /usr/www/wwws/users/cobhzrsoe/wp-content/plugins/contact-form-7-dynamic-text-
   extension/contact-form-7-dynamic-text-extension.php on line 39

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

The topic ‘shortcode deprecated since CF7 4.6’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-dynamic-text-extension/assets/icon-256x256.
   png?rev=3019574)
 * [Contact Form 7 - Dynamic Text Extension](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/reviews/)

## Tags

 * [WPCF7_Shortcode](https://wordpress.org/support/topic-tag/wpcf7_shortcode/)

 * 12 replies
 * 10 participants
 * Last reply from: [ppokah0111](https://wordpress.org/support/users/ppokah0111/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/wpcf7_add_shortcode-is-deprecated/#post-9235702)
 * Status: resolved