Title: Update notice wpcf7_remove_shortcode
Last modified: January 20, 2017

---

# Update notice wpcf7_remove_shortcode

 *  [Erol Abzait](https://wordpress.org/support/users/erolabzait/)
 * (@erolabzait)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-notice-wpcf7_remove_shortcode/)
 * Hello,
 * Thanks for this great plugin.
    I get a notice when WP_DEBUG is true.
 * Notice: wpcf7_remove_shortcode is **deprecated** since Contact Form 7 version
   4.6! Use wpcf7_remove_form_tag instead.
 * Thanks in advance,

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

 *  [David Clough](https://wordpress.org/support/users/cloughit/)
 * (@cloughit)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-notice-wpcf7_remove_shortcode/#post-8717676)
 * +1 for the same notice when WP_DEBUG is true.
 *  [prakashcis](https://wordpress.org/support/users/prakashcis/)
 * (@prakashcis)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-notice-wpcf7_remove_shortcode/#post-8718794)
 * How to configure on CF7 end date less than start date with datepicker ?
 * I want prevent user from selecting an end date to be less than the start date
 * there is an another date called : Return to work date that should be less than
   that End date
 * Anyone can help me this
 *  [bahead](https://wordpress.org/support/users/bahead/)
 * (@bahead)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/update-notice-wpcf7_remove_shortcode/#post-8741586)
 * The developer needs to replace deprecated CF7 tags. Here are the changes I made
   in my version to resolve the errors when WP_DEBUG is enabled.
 * modules\date.php
    Line 32 //$tag = new WPCF7_Shortcode($tag); $tag = new WPCF7_FormTag(
   $tag);
 * Line 150
    // wpcf7_remove_shortcode(‘date’); wpcf7_remove_form_tag(‘date’); Line
   151 // wpcf7_remove_shortcode(‘date*’); wpcf7_remove_form_tag(‘date*’);
 * modules\datetime.php
 * Line 26
    //$tag = new WPCF7_Shortcode($tag); $tag = new WPCF7_FormTag($tag);
 * modules\time.php
    Line 27 //$tag = new WPCF7_Shortcode($tag); $tag = new WPCF7_FormTag(
   $tag);
    -  This reply was modified 9 years, 4 months ago by [bahead](https://wordpress.org/support/users/bahead/).

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

The topic ‘Update notice wpcf7_remove_shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-datepicker.svg)
 * [Contact Form 7 Datepicker](https://wordpress.org/plugins/contact-form-7-datepicker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-datepicker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-datepicker/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-datepicker/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [bahead](https://wordpress.org/support/users/bahead/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/update-notice-wpcf7_remove_shortcode/#post-8741586)
 * Status: not resolved