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

add contact form 7 config validator #2

Open
xJuvi opened this issue Apr 7, 2024 · 0 comments
Open

add contact form 7 config validator #2

xJuvi opened this issue Apr 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xJuvi
Copy link
Member

xJuvi commented Apr 7, 2024

In a later release, the contact form 7 config validation should extend to check kultur-api configs.

I think the right hook is "wpcf7_config_validator_validate":
https://github.com/rocklobster-in/contact-form-7/blob/master/includes/config-validator/validator.php#L329C16-L329C46

The validation should check if fields are configurated when api is enabled and allow disable email sending only when api endpoint is selected.

@xJuvi xJuvi added the enhancement New feature or request label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant