Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ACF forms #117

Open
bestbean opened this issue Feb 2, 2024 · 1 comment
Open

Support for ACF forms #117

bestbean opened this issue Feb 2, 2024 · 1 comment

Comments

@bestbean
Copy link

bestbean commented Feb 2, 2024

Please add support for ACF, ACF extended and / or ACF pro.
These are popular extensions, but unfortunately only recaptcha is offered.

@bestbean
Copy link
Author

bestbean commented Feb 3, 2024

Solved. Was a quite trivial task, thanks to the well-documented API.
New /wp-content/plugins/acf-extended/includes/fields/field-friendlycaptcha.php based on field-recaptcha.php.
I began with a new friendlycaptcha module (acfe/acfe.php), but because the input of the reCaptcha credentials is solved differently in ACFe, i have not pursued this path any further.
Although that would be the right way.

So, it is only a temporary solution until next plugins update.

Files changed:
/wp-content/plugins/friendly-captcha/modules/acfe/acfe.php
/wp-content/plugins/friendly-captcha/includes/core.php
/wp-content/plugins/acf-extended/acf-extended.php
/wp-content/plugins/acf-extended/assets/js/acfe-input.js
/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js
/wp-content/plugins/acf-extended/includes/fields/field-friendlycaptcha.php
/wp-content/plugins/acf-extended/lang/acfe-fr_FR.po
/wp-content/plugins/acf-extended/lang/acfe.pot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant