Title: Does AIOS support custom forms like YITH shortcode-based forms?
Last modified: April 15, 2026

---

# Does AIOS support custom forms like YITH shortcode-based forms?

 *  Resolved [youKnowWho](https://wordpress.org/support/users/flash1433/)
 * (@flash1433)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/does-aios-support-custom-forms-like-yith-shortcode-based-forms/)
 * I am using Cloudflare Turnstile via AIOS on my WooCommerce site. Turnstile works
   correctly on the default WooCommerce registration form.
 * However, I am also using the YITH WooCommerce Affiliates plugin, which provides
   a custom affiliate registration form via shortcode: [yith_wcaf_registration_form].
 * Issue:
    - Turnstile is not rendered on the YITH affiliate registration form
    - But validation is still triggered on submission
    - This results in a submission error because no Turnstile response exists
 * Is there a way to disable Turnstile validation for specific forms/pages? Or is
   there a hook/filter to manually inject and validate Turnstile for custom forms?
 * This currently blocks affiliate registration completely.

Viewing 1 replies (of 1 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/does-aios-support-custom-forms-like-yith-shortcode-based-forms/#post-18881394)
 * Hi [@flash1433](https://wordpress.org/support/users/flash1433/),
 * AIOS might not show the captcha field for the **YITH affiliate registration**
   form.
 * The filter /action to add the captcha YITH affiliate registration hook and action
   needs to be checked. It might be **registration_errors** related hook/ filter
   validating registration.
 * Below is the simple action registration form, with a captcha field.
 *     ```wp-block-code
       add_action('register_form', array($aio_wp_security->captcha_obj, 'insert_captcha_question_form');
       ```
   
 * Please try adding code below in the themes function.php, it might show the captcha
   field.
 *     ```wp-block-code
       add_action('plugins_loaded', function () {    global $aio_wp_security;    if (isset($aio_wp_security->captcha_obj)) {        add_action(            'yith_wcaf_after_registration_form',            array($aio_wp_security->captcha_obj, 'insert_captcha_question_form')        );    }});
       ```
   
 * Regards

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoes-aios-support-custom-forms-like-yith-shortcode-based-forms%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [custom form](https://wordpress.org/support/topic-tag/custom-form/)

 * 1 reply
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [1 month, 3 weeks ago](https://wordpress.org/support/topic/does-aios-support-custom-forms-like-yith-shortcode-based-forms/#post-18881394)
 * Status: resolved