Viewing 1 replies (of 1 total)
  • Plugin Contributor podpirate

    (@podpirate)

    The method recaptcha_html on the main class returns the form html according to the plugin settings. So:

    if ( class_exists(‘WP_reCaptcha’) )
    add_shortcode( ‘recaptcha’ , array( WP_reCaptcha::instance() , ‘recaptcha_html’ ) );

    would add a [recaptcha] shortcode.

    Validating works through WP_reCaptcha::instance()->recaptcha_check();. It returns true when the captcha post parameter exists and is valid false otherwise.

    Where to hook the validation process highly depends on the architecture of infusionsoft. I cannot go into this any deeper but when you found a solution which might be worth sharing, feel free to post it here or to contribute to plugin core code: https://github.com/mcguffin/wp-recaptcha-integration

    cheers,
    j?rn

Viewing 1 replies (of 1 total)
  • The topic ‘Add CAPTCHA to a form with shortcode?’ is closed to new replies.