WordPress.org

Ready to get started?Download WordPress

Forums

Checkmail validation for Contact Form 7
Doesn't work with Contact Form 7 v.3.6 (5 posts)

  1. myefreelance
    Member
    Posted 8 months ago #

    It doesn't render with Contact Form 7 v.3.6.

    The problem is "add_action('plugins_loaded', 'contact_form_7_checkmail', 10);" because, in my case, it execute before "add_action( 'plugins_loaded', 'wpcf7' )" from Contact Form.

    If you debug it, you found that:
    1º) "contact_form_7_checkmail" calls "wpcf7_add_shortcode".
    2º) "wpcf7_add_shortcode" calls "$wpcf7_shortcode_manager" that it is a global variable created in "wpcf7".

    if you change by "add_action('plugins_loaded', 'contact_form_7_checkmail', 15);", you can resolve it.

    http://wordpress.org/plugins/checkmail-validation-for-contact-form-7/

  2. Markus
    Member
    Posted 8 months ago #

    Thank's. The solution is working perfectly.

  3. Bob0221
    Member
    Posted 8 months ago #

    Where are you making this change?

  4. irisemedia
    Member
    Posted 8 months ago #

    Brilliant! Thanks!

  5. Koen Schuit
    Member
    Posted 7 months ago #

    Very nice, thank you!

    For those wondering which file to edit:
    checkmail-validation-for-contact-form-7.php line 24

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.