Skip Navigation

[Resolved] Profanity Filter

This thread is resolved. Here is a description of the problem and solution.

Problem:
Profanity Filter
Solution:
There is no such feature available to perform a check or integrate with something with Akismet - its needs pure custom programming that is eventually beyond the scope of our support policy.

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/profanity-filter/#post-630807

Relevant Documentation:

This support ticket is created 6 years, 8 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 6 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#630628

Hi I am looking to add a profanity filter to CRED forms.
We have a website that allows users to add multiple custom posts.
We want to make sure they can't add explicit content, spam or malware.

Is there a way to perform a check or integrate with something like Akismet in order to get this achieved?

Thank you

#630807

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no such feature available to perform a check or integrate with something it with Akismet - its needs pure custom programming that is eventually beyond the scope of our support policy.

However - CRED offers hooks to validate your form - where you should add your custom validations or do whatever process you need:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate

Further - CRED also offers hook "cred_before_save_data" if you want to process your data before you save it.
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_before_save_data

At last CRED also offers to filter your content where you can setup allowed tags by users:
=> https://toolset.com/documentation/user-guides/content-filter-settings/

These are the available possible option that may help you.