Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeEvilSpammerMsg($errors) {
- if (is_array($errors) and count($errors) === 1) {
- if ($errors[0]['message'] === 'Please check the box below to prove you are not an evil spammer.')
- $errors[0]['message'] = 'Anti spam message of your choosing';
- }
- return $errors;
- }
- add_filter('tribe_community_events_form_errors', 'changeEvilSpammerMsg');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement