Skip Navigation

[Gelöst] Does Toolset Front-end Forms Observe the WordPress Comment Blocklist?

This support ticket is created vor 1 Jahr, 2 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 1 Jahr, 2 Monaten.

Assistiert von: Waqar.

Author
Artikel
#2642677

Hi Team,

i wonder if the Front-end Forms for content does observe the wordpress comment blocklist to recognize spam.

If yes, cool.
If not, maybe it's a great feature.

Best

#2642745

Hi,

Thank you for contacting us and I'd be happy to assist.

Toolset Forms don't automatically apply filtration for the comment blocklist to content submitted through it.

This can be achieved through custom code, which uses the 'cred_form_validate' hook, to apply custom filtration/validation.
( ref: https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate )

Note: WordPress stores the 'Disallowed Comment Keys' in the options table, under the key/name 'disallowed_keys'. You can use the 'get_option' function to retrieve it:
https://developer.wordpress.org/reference/functions/get_option/

regards,
Waqar