Created
January 13, 2014 21:02
-
-
Save ckpicker/8408079 to your computer and use it in GitHub Desktop.
Community Events Add-on 3.3 // Customize Error Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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