Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created January 13, 2014 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/8408079 to your computer and use it in GitHub Desktop.
Save ckpicker/8408079 to your computer and use it in GitHub Desktop.
Community Events Add-on 3.3 // Customize Error Message
add_filter('tribe_events_community_submission_error_message', 'custom_error_message');
function custom_error_message() {
return '<p>There was a problem saving your event. The following fields are required: </p><ul><li>Title</li><li>Description</li><li>Event Start Date</li></ul>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment